diff --git a/tests/cv/src/adetectordescriptor_evaluation.cpp b/tests/cv/src/adetectordescriptor_evaluation.cpp index cb7d4d99be..c7259eec06 100644 --- a/tests/cv/src/adetectordescriptor_evaluation.cpp +++ b/tests/cv/src/adetectordescriptor_evaluation.cpp @@ -82,7 +82,7 @@ static inline void linearizeHomographyAt( const Mat_& H, const Point2f& A.setTo(Scalar::all(numeric_limits::max())); } -void calcKeyPointProjections( const vector& src, const Mat_& H, vector& dst ) +static void calcKeyPointProjections( const vector& src, const Mat_& H, vector& dst ) { if( !src.empty() ) { @@ -117,7 +117,7 @@ void calcKeyPointProjections( const vector& src, const Mat_& H } } -void filterKeyPointsByImageSize( vector& keypoints, const Size& imgSize ) +static void filterKeyPointsByImageSize( vector& keypoints, const Size& imgSize ) { if( !keypoints.empty() ) {