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

eliminate compiler warnings

This commit is contained in:
Alexander Alekhin
2016-10-07 18:49:52 +03:00
committed by Alexander Alekhin
parent 6cfe4a85f7
commit 5da8d65371
18 changed files with 38 additions and 30 deletions
+4
View File
@@ -224,6 +224,8 @@ public:
kbest->setOutlierRejector(outlierRejector);
return kbest;
}
#else
CV_Assert(gpu == false && "CUDA modules are not available");
#endif
Ptr<KeypointBasedMotionEstimator> kbest = makePtr<KeypointBasedMotionEstimator>(est);
@@ -265,6 +267,8 @@ public:
kbest->setOutlierRejector(outlierRejector);
return kbest;
}
#else
CV_Assert(gpu == false && "CUDA modules are not available");
#endif
Ptr<KeypointBasedMotionEstimator> kbest = makePtr<KeypointBasedMotionEstimator>(est);