From f79134481032ce8c14e6ad42d7c8f3583bc245f1 Mon Sep 17 00:00:00 2001 From: yao Date: Thu, 28 Feb 2013 14:37:37 +0800 Subject: [PATCH] linux warning fix --- modules/ocl/src/surf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocl/src/surf.cpp b/modules/ocl/src/surf.cpp index fec21f6..e2ac21b 100644 --- a/modules/ocl/src/surf.cpp +++ b/modules/ocl/src/surf.cpp @@ -60,7 +60,7 @@ namespace cv const char* noImage2dOption = "-D DISABLE_IMAGE2D"; - void openCLExecuteKernelSURF(Context *clCxt , const char **source, string kernelName, size_t globalThreads[3], + static void openCLExecuteKernelSURF(Context *clCxt , const char **source, string kernelName, size_t globalThreads[3], size_t localThreads[3], vector< pair > &args, int channels, int depth) { if(support_image2d()) -- 2.7.4