summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wii_frame.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-20 21:10:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:32:10 +0100
commit5bf85412e4eacf92acc936b6e74bce0e2b1055d9 (patch)
tree9febf122c0396608055b9edbcd56f9c0cb3834d7 /tracker-wii/wii_frame.cpp
parentcebe535ec18ffcacac914bfab1874fd61d35ac3b (diff)
tracker/wii: put definitions in exact namespace
It messes with static analysis tools for no apparent reason.
Diffstat (limited to 'tracker-wii/wii_frame.cpp')
-rw-r--r--tracker-wii/wii_frame.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-wii/wii_frame.cpp b/tracker-wii/wii_frame.cpp
index 432b1f18..4c2c3904 100644
--- a/tracker-wii/wii_frame.cpp
+++ b/tracker-wii/wii_frame.cpp
@@ -15,7 +15,7 @@
#include <opencv2/imgproc.hpp>
-using namespace pt_module;
+namespace pt_module {
WIIPreview& WIIPreview::operator=(const pt_frame& frame_)
{
@@ -102,3 +102,5 @@ void WIIPreview::ensure_size(cv::Mat& frame, int w, int h, int type)
if (frame.cols != w || frame.rows != h)
frame = cv::Mat(h, w, type);
}
+
+} // ns pt_module