mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 23:30:06 +08:00
Fix a build error which manifests when building with CUDA < 5.
This commit is contained in:
parent
4da0cdb959
commit
dad58d8940
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user