1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

fix: supress GCC13 warnings (#24434)

* fix: supress GCC13 warnings

* fix for review and compile-warning on MacOS
This commit is contained in:
Kumataro
2023-10-26 15:00:58 +09:00
committed by GitHub
parent 38bc519e4a
commit 1911c63826
7 changed files with 42 additions and 10 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ Mat CameraParams::K() const
Mat_<double> k = Mat::eye(3, 3, CV_64F);
k(0,0) = focal; k(0,2) = ppx;
k(1,1) = focal * aspect; k(1,2) = ppy;
return std::move(k);
return Mat(k);
}
} // namespace detail