diff --git a/modules/features2d/src/agast.cpp b/modules/features2d/src/agast.cpp index 2352c15afb..01532a538c 100644 --- a/modules/features2d/src/agast.cpp +++ b/modules/features2d/src/agast.cpp @@ -7665,7 +7665,6 @@ void AGAST(InputArray _img, std::vector& keypoints, int threshold, boo if (keypoints[j - 1].response == -1) keypoints.erase(keypoints.begin() + j - 1 ); } - } }