diff --git a/modules/ocl/src/cl_operations.cpp b/modules/ocl/src/cl_operations.cpp index e4ea151d5e..802f2d80fe 100644 --- a/modules/ocl/src/cl_operations.cpp +++ b/modules/ocl/src/cl_operations.cpp @@ -459,7 +459,7 @@ void openCLExecuteKernel(Context *ctx, const cv::ocl::ProgramEntry* source, Stri openCLExecuteKernel_(ctx, source, kernelName, globalThreads, localThreads, args, channels, depth, build_options); #else - std::string data_type[] = { "uchar", "char", "ushort", "short", "int", "float", "double"}; + String data_type[] = { "uchar", "char", "ushort", "short", "int", "float", "double"}; std::cout << std::endl; std::cout << "Function Name: " << kernelName; if(depth >= 0)