fixed gpu module compilation

This commit is contained in:
Vladislav Vinogradov
2013-03-27 13:07:58 +04:00
parent 20534c9beb
commit 15f09f8068
18 changed files with 97 additions and 81 deletions

View File

@@ -693,7 +693,7 @@ bool cv::gpu::CascadeClassifier_GPU::load(const String& filename)
release();
String fext = filename.substr(filename.find_last_of(".") + 1);
std::transform(fext.begin(), fext.end(), fext.begin(), ::tolower);
fext = fext.toLowerCase();
if (fext == "nvbin")
{