Give cv::ocl::CLAHE a virtual destructor, for the usual reasons.
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 19 Jun 2013 11:39:11 +0000 (15:39 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 19 Jun 2013 11:39:11 +0000 (15:39 +0400)
modules/ocl/include/opencv2/ocl/ocl.hpp

index d6dd4b983c01aaa71ff2e67404dd74031d511efd..3324b7932e7d87a926b9a885545e4a4aaa45b069 100644 (file)
@@ -520,6 +520,8 @@ namespace cv
             virtual Size getTilesGridSize() const = 0;
 
             virtual void collectGarbage() = 0;
+
+            virtual ~CLAHE() {}
         };
         CV_EXPORTS Ptr<cv::ocl::CLAHE> createCLAHE(double clipLimit = 40.0, Size tileGridSize = Size(8, 8));