final fix

This commit is contained in:
Maksim Shabunin 2014-10-17 18:29:30 +04:00
parent 571ebb2373
commit 276bed3e4a

View File

@ -346,6 +346,11 @@ SurfFeaturesFinder::SurfFeaturesFinder(double hess_thresh, int num_octaves, int
extractor_->set(SURF::NOCTAVE_LAYERS, num_layers_descr);
}
#else
(void)hess_thresh;
(void)num_octaves;
(void)num_layers;
(void)num_octaves_descr;
(void)num_layers_descr;
CV_Error( Error::StsNotImplemented, "OpenCV was built without SURF support" );
#endif
}