diff --git a/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp b/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp index ef010b5e1..80b1666e1 100644 --- a/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp +++ b/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp @@ -452,16 +452,13 @@ public: class CV_EXPORTS_W ORB : public Feature2DAsync { public: - enum - { - X_ROW = 0, - Y_ROW, - RESPONSE_ROW, - ANGLE_ROW, - OCTAVE_ROW, - SIZE_ROW, - ROWS_COUNT - }; + static const int X_ROW = 0; + static const int Y_ROW = 1; + static const int RESPONSE_ROW = 2; + static const int ANGLE_ROW = 3; + static const int OCTAVE_ROW = 4; + static const int SIZE_ROW = 5; + static const int ROWS_COUNT = 6; CV_WRAP static Ptr create(int nfeatures=500, float scaleFactor=1.2f,