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

fixed compilation errors

This commit is contained in:
Vladislav Vinogradov
2013-04-17 15:24:53 +04:00
parent 8fdab9f631
commit 54e7c76d99
41 changed files with 205 additions and 234 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ void DeviceManager::load(int i)
if (i < 0 || i >= getCudaEnabledDeviceCount())
{
msg << "Incorrect device number - " << i;
CV_Error(CV_StsBadArg, msg.str());
CV_Error(cv::Error::StsBadArg, msg.str());
}
DeviceInfo info(i);
@@ -83,7 +83,7 @@ void DeviceManager::load(int i)
if (!info.isCompatible())
{
msg << "Device " << i << " [" << info.name() << "] is NOT compatible with current GPU module build";
CV_Error(CV_StsBadArg, msg.str());
CV_Error(cv::Error::StsBadArg, msg.str());
}
devices_.push_back(info);