Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 96e35d1

Browse files
committed
Fixed some -Wdocumentation-deprecated-sync warnings
1 parent 83a7b68 commit 96e35d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/flann/src/flann.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ namespace cvflann
3434
/** Global variable indicating the distance metric to be used.
3535
* \deprecated Provided for backward compatibility
3636
*/
37-
flann_distance_t flann_distance_type_ = FLANN_DIST_L2;
38-
flann_distance_t flann_distance_type() { return flann_distance_type_; }
37+
CV_DEPRECATED flann_distance_t flann_distance_type_ = FLANN_DIST_L2;
38+
CV_DEPRECATED flann_distance_t flann_distance_type() { return flann_distance_type_; }
3939

4040
/**
4141
* Set distance type to used

0 commit comments

Comments
 (0)