Commit 02692f9a authored by Ilya Lavrenov's avatar Ilya Lavrenov

fix MACRO

parent 983799d3
......@@ -5,6 +5,8 @@
// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.
// Third party copyrights are property of their respective owners.
#define CV_OPENCL_RUN_ASSERT
#ifdef HAVE_OPENCL
#ifdef CV_OPENCL_RUN_VERBOSE
......@@ -28,7 +30,7 @@
if (cv::ocl::useOpenCL() && (condition)) \
{ \
CV_Assert(func); \
return; \
return __VA_ARGS__; \
} \
}
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment