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

This commit is contained in:
Vadim Pisarevsky 2010-07-08 21:15:09 +00:00
parent 269afb91da
commit fd169e9716

View File

@ -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.
* *
@ -1279,9 +1281,9 @@ 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.
* *