fix warnings about missing destructors in FeatureDetector and DescriptorExtractor classes and their derivatives

pull/13383/head
Vadim Pisarevsky 15 years ago
parent 269afb91da
commit fd169e9716
  1. 7
      modules/features2d/include/opencv2/features2d/features2d.hpp

@ -1268,6 +1268,8 @@ protected:
class CV_EXPORTS FeatureDetector class CV_EXPORTS FeatureDetector
{ {
public: public:
virtual ~FeatureDetector() {}
/* /*
* Detect keypoints in an image. * Detect keypoints in an image.
* *
@ -1280,8 +1282,8 @@ public:
detectImpl( image, mask, keypoints ); detectImpl( image, mask, keypoints );
} }
virtual void read(const FileNode&) {}; virtual void read(const FileNode&) {}
virtual void write(FileStorage&) const {}; virtual void write(FileStorage&) const {}
protected: protected:
/* /*
@ -1416,6 +1418,7 @@ CV_EXPORTS FeatureDetector* createDetector( const string& detectorType );
class CV_EXPORTS DescriptorExtractor class CV_EXPORTS DescriptorExtractor
{ {
public: public:
virtual ~DescriptorExtractor() {}
/* /*
* Compute the descriptors for a set of keypoints in an image. * Compute the descriptors for a set of keypoints in an image.
* *

Loading…
Cancel
Save