Fix ocl::dft the compile warning on Linux

This commit is contained in:
yao 2013-02-26 21:18:51 +08:00
parent 3ff5689fe5
commit 04faaa9e35

View File

@ -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