summaryrefslogtreecommitdiffhomepage
path: root/cv/affine.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-09 15:05:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:18:57 +0100
commitaf2dcca279e6fc23c9b1694170cbdfe36b32eb79 (patch)
treea1d5cf6e77735e40138932705a0cc7287f6c5c73 /cv/affine.hpp
parent5ad2275e0e50be8a4e9f506fb3f8dab2b02d0420 (diff)
logic, cv: fix header namespace pollution
We've had "using namespace options;" in headers for a while now.
Diffstat (limited to 'cv/affine.hpp')
-rw-r--r--cv/affine.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/cv/affine.hpp b/cv/affine.hpp
index aedb0bc8..3bc85c95 100644
--- a/cv/affine.hpp
+++ b/cv/affine.hpp
@@ -9,9 +9,10 @@
#include <opencv2/core.hpp>
#include "numeric.hpp"
-using namespace types;
+namespace affine_impl {
+using namespace types;
class Affine final
{
@@ -27,3 +28,8 @@ Affine operator*(const Affine& X, const Affine& Y);
Affine operator*(const mat33& X, const Affine& Y);
Affine operator*(const Affine& X, const mat33& Y);
vec3 operator*(const Affine& X, const vec3& v);
+
+} // ns affine_impl
+
+using affine_impl::Affine;
+using affine_impl::operator *;