From 04faaa9e350afa1661a1065b164f134fb60b6651 Mon Sep 17 00:00:00 2001 From: yao Date: Tue, 26 Feb 2013 21:18:51 +0800 Subject: [PATCH] Fix ocl::dft the compile warning on Linux --- modules/ocl/src/fft.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ocl/src/fft.cpp b/modules/ocl/src/fft.cpp index 9ae0ee1f8..aab2a040a 100644 --- a/modules/ocl/src/fft.cpp +++ b/modules/ocl/src/fft.cpp @@ -55,8 +55,9 @@ void cv::ocl::dft(const oclMat&, oclMat&, Size, int) CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented"); } namespace cv { namespace ocl { - void fft_teardown(){} + void fft_teardown(); }} +void cv::ocl::fft_teardown(){} #else #include "clAmdFft.h" namespace cv