Commit fd169e97 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fix warnings about missing destructors in FeatureDetector and…

fix warnings about missing destructors in FeatureDetector and DescriptorExtractor classes and their derivatives
parent 269afb91
...@@ -1268,6 +1268,8 @@ protected: ...@@ -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: ...@@ -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 ); ...@@ -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.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment