1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

backport: fixed warnings produced by clang-9.0.0

ea3dc78986
https://github.com/opencv/opencv_contrib/commit/83fc27cb99db4435d07974090fbdc77d831931cd
This commit is contained in:
Maksim Shabunin
2019-01-28 14:48:00 +03:00
committed by Alexander Alekhin
parent c4d2e3c0b3
commit c8abf2ad14
3 changed files with 16 additions and 9 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 k;
return CV_CXX_MOVE(k);
}
} // namespace detail