projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269afb9
)
fix warnings about missing destructors in FeatureDetector and DescriptorExtractor...
author
Vadim Pisarevsky
<no@email>
Thu, 8 Jul 2010 21:15:09 +0000
(21:15 +0000)
committer
Vadim Pisarevsky
<no@email>
Thu, 8 Jul 2010 21:15:09 +0000
(21:15 +0000)
modules/features2d/include/opencv2/features2d/features2d.hpp
patch
|
blob
|
history
diff --git
a/modules/features2d/include/opencv2/features2d/features2d.hpp
b/modules/features2d/include/opencv2/features2d/features2d.hpp
index
c5cd4c9
..
9e66bd7
100644
(file)
--- a/
modules/features2d/include/opencv2/features2d/features2d.hpp
+++ b/
modules/features2d/include/opencv2/features2d/features2d.hpp
@@
-1268,6
+1268,8
@@
protected:
class CV_EXPORTS FeatureDetector
{
public:
+ virtual ~FeatureDetector() {}
+
/*
* Detect keypoints in an image.
*
@@
-1279,9
+1281,9
@@
public:
{
detectImpl( image, mask, keypoints );
}
-
- virtual void read(const FileNode&) {}
;
- virtual void write(FileStorage&) const {}
;
+
+ virtual void read(const FileNode&) {}
+ virtual void write(FileStorage&) const {}
protected:
/*
@@
-1416,6
+1418,7
@@
CV_EXPORTS FeatureDetector* createDetector( const string& detectorType );
class CV_EXPORTS DescriptorExtractor
{
public:
+ virtual ~DescriptorExtractor() {}
/*
* Compute the descriptors for a set of keypoints in an image.
*