fixed some warnings and errors under g++

This commit is contained in:
Alexey Spizhevoy
2011-02-03 14:51:58 +00:00
parent 97b0335ef6
commit 50429d8a3e
8 changed files with 30 additions and 25 deletions

View File

@@ -88,7 +88,7 @@ bool cv::gpu::StereoBM_GPU::checkIfGpuCallReasonable()
DeviceInfo device_info;
if (device_info.major() > 1 || device_info.multiProcessorCount() > 16)
if (device_info.majorVersion() > 1 || device_info.multiProcessorCount() > 16)
return true;
return false;