Using cv::String instead of std::string.

pull/1882/head
Philippe FOUBERT 11 years ago
parent c056e7fc61
commit ec6f2e1c4d
  1. 2
      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)

Loading…
Cancel
Save