mirror of
https://github.com/opencv/opencv.git
synced 2025-01-20 07:34:42 +08:00
fix warnings about missing destructors in FeatureDetector and DescriptorExtractor classes and their derivatives
This commit is contained in:
parent
269afb91da
commit
fd169e9716
@ -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.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user