projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7c098
)
facedetect: Fix compiler warning with clang 3.8
author
Heinrich Fink
<hfink@toolsonair.com>
Fri, 10 Jun 2016 08:32:46 +0000
(11:32 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 10 Jun 2016 08:33:52 +0000
(11:33 +0300)
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;
^
ext/opencv/gstfacedetect.cpp
patch
|
blob
|
history
diff --git
a/ext/opencv/gstfacedetect.cpp
b/ext/opencv/gstfacedetect.cpp
index
58d224f
..
3c82ce0
100644
(file)
--- a/
ext/opencv/gstfacedetect.cpp
+++ b/
ext/opencv/gstfacedetect.cpp
@@
-76,10
+76,10
@@
# include <config.h>
#endif
-using namespace std;
-
#include <vector>
+using namespace std;
+
#include "gstfacedetect.h"
#if (CV_MAJOR_VERSION >= 3)
#include <opencv2/imgproc.hpp>