Commit 04faaa9e authored by yao's avatar yao

Fix ocl::dft the compile warning on Linux

parent 3ff5689f
...@@ -55,8 +55,9 @@ void cv::ocl::dft(const oclMat&, oclMat&, Size, int) ...@@ -55,8 +55,9 @@ void cv::ocl::dft(const oclMat&, oclMat&, Size, int)
CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented"); CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented");
} }
namespace cv { namespace ocl { namespace cv { namespace ocl {
void fft_teardown(){} void fft_teardown();
}} }}
void cv::ocl::fft_teardown(){}
#else #else
#include "clAmdFft.h" #include "clAmdFft.h"
namespace cv namespace cv
......
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