Added anonymous namespace to perf_contours
authorVitaly Tuzov <terfendail@mediana.jetos.com>
Tue, 27 Nov 2018 08:33:36 +0000 (11:33 +0300)
committerVitaly Tuzov <terfendail@mediana.jetos.com>
Tue, 27 Nov 2018 08:35:40 +0000 (11:35 +0300)
modules/imgproc/perf/perf_contours.cpp

index 7606605..d3a70cf 100644 (file)
@@ -3,7 +3,7 @@
 // of this distribution and at http://opencv.org/license.html.
 #include "perf_precomp.hpp"
 
-namespace opencv_test {
+namespace opencv_test { namespace {
 
 CV_ENUM(RetrMode, RETR_EXTERNAL, RETR_LIST, RETR_CCOMP, RETR_TREE)
 CV_ENUM(ApproxMode, CHAIN_APPROX_NONE, CHAIN_APPROX_SIMPLE, CHAIN_APPROX_TC89_L1, CHAIN_APPROX_TC89_KCOS)
@@ -84,4 +84,4 @@ PERF_TEST_P(TestFindContoursFF, findContours,
     SANITY_CHECK_NOTHING();
 }
 
-} // namespace
+} // namespace