Fix a build error which manifests when building with CUDA < 5.

This commit is contained in:
Roman Donchenko 2013-05-23 14:00:13 +04:00
parent 4da0cdb959
commit dad58d8940

View File

@ -1581,7 +1581,7 @@ namespace
(void)src; (void)src;
(void)dst; (void)dst;
(void)st; (void)st;
CV_Error( CV_StsBadFlag, "Unknown/unsupported color conversion code" ); CV_Error( Error::StsBadFlag, "Unknown/unsupported color conversion code" );
#else #else
CV_Assert(src.type() == CV_8UC4 || src.type() == CV_16UC4); CV_Assert(src.type() == CV_8UC4 || src.type() == CV_16UC4);