From: Heinrich Fink Date: Fri, 10 Jun 2016 08:32:46 +0000 (+0300) Subject: facedetect: Fix compiler warning with clang 3.8 X-Git-Tag: 1.19.3~507^2~6477 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3107f5df76b09b229d1aa97333fe57be7e4af223;p=platform%2Fupstream%2Fgstreamer.git facedetect: Fix compiler warning with clang 3.8 Use namespace only after it was actually defined by a header. gstfacedetect.cpp:79:17: error: using directive refers to implicitly-defined namespace 'std' [-Werror] using namespace std; ^ --- diff --git a/ext/opencv/gstfacedetect.cpp b/ext/opencv/gstfacedetect.cpp index 58d224f..3c82ce0 100644 --- a/ext/opencv/gstfacedetect.cpp +++ b/ext/opencv/gstfacedetect.cpp @@ -76,10 +76,10 @@ # include #endif -using namespace std; - #include +using namespace std; + #include "gstfacedetect.h" #if (CV_MAJOR_VERSION >= 3) #include