Fixed -Wextra-semi warnings in public headers

pull/13419/head
Sean McBride 6 years ago
parent 54de51ef3c
commit a4111fab39
  1. 8
      modules/features2d/include/opencv2/features2d.hpp

@ -289,14 +289,14 @@ public:
/** @brief Set detection threshold. /** @brief Set detection threshold.
@param threshold AGAST detection threshold score. @param threshold AGAST detection threshold score.
*/ */
CV_WRAP virtual void setThreshold(int threshold) { CV_UNUSED(threshold); return; }; CV_WRAP virtual void setThreshold(int threshold) { CV_UNUSED(threshold); return; }
CV_WRAP virtual int getThreshold() const { return -1; }; CV_WRAP virtual int getThreshold() const { return -1; }
/** @brief Set detection octaves. /** @brief Set detection octaves.
@param octaves detection octaves. Use 0 to do single scale. @param octaves detection octaves. Use 0 to do single scale.
*/ */
CV_WRAP virtual void setOctaves(int octaves) { CV_UNUSED(octaves); return; }; CV_WRAP virtual void setOctaves(int octaves) { CV_UNUSED(octaves); return; }
CV_WRAP virtual int getOctaves() const { return -1; }; CV_WRAP virtual int getOctaves() const { return -1; }
}; };
/** @brief Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor /** @brief Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor

Loading…
Cancel
Save