diff --git a/samples/gpu/performance/tests.cpp b/samples/gpu/performance/tests.cpp index 4d6f778a48..305f0cc3c5 100644 --- a/samples/gpu/performance/tests.cpp +++ b/samples/gpu/performance/tests.cpp @@ -12,7 +12,6 @@ #include "opencv2/cudaoptflow.hpp" #include "opencv2/cudabgsegm.hpp" -#include "opencv2/legacy.hpp" #include "performance.h" #include "opencv2/opencv_modules.hpp"