From 7d101a1c2827b5e7a373fb0d0a68099fb692e55a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 9 Jan 2018 17:14:02 +0100 Subject: many: spring cleanup --- cv/numeric.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cv/numeric.hpp') diff --git a/cv/numeric.hpp b/cv/numeric.hpp index 4761af1d..27287c1e 100644 --- a/cv/numeric.hpp +++ b/cv/numeric.hpp @@ -6,11 +6,9 @@ namespace types { using f = double; - struct constants final - { - constants() = delete; - static constexpr f eps = f(1e-8); - }; + namespace constants { + static constexpr inline f eps = f(1e-8); + } template using vec = cv::Vec; using vec2 = vec<2>; -- cgit v1.2.3