From dad58d8940d50ceca9239659b0047b7a83d5cd53 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Thu, 23 May 2013 14:00:13 +0400 Subject: [PATCH] Fix a build error which manifests when building with CUDA < 5. --- modules/gpu/src/color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpu/src/color.cpp b/modules/gpu/src/color.cpp index dc35823486..06c992f8ea 100644 --- a/modules/gpu/src/color.cpp +++ b/modules/gpu/src/color.cpp @@ -1581,7 +1581,7 @@ namespace (void)src; (void)dst; (void)st; - CV_Error( CV_StsBadFlag, "Unknown/unsupported color conversion code" ); + CV_Error( Error::StsBadFlag, "Unknown/unsupported color conversion code" ); #else CV_Assert(src.type() == CV_8UC4 || src.type() == CV_16UC4);