From 0230b9695df78cbd489c01398b53d04dbd02765a Mon Sep 17 00:00:00 2001 From: John McFarlane Date: Tue, 9 Aug 2016 23:54:32 -0700 Subject: [PATCH] changes std::numeric_limits from class to struct - avoids irksome Clang warning, 'mismatched-tags' --- include/safe_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/safe_base.hpp b/include/safe_base.hpp index da5ed26..87fe939 100644 --- a/include/safe_base.hpp +++ b/include/safe_base.hpp @@ -165,7 +165,7 @@ class safe_base { > friend class safe_base; - friend class std::numeric_limits< + friend struct std::numeric_limits< safe_base >; @@ -280,7 +280,7 @@ template< class P, class E > -class numeric_limits > +struct numeric_limits > : public std::numeric_limits { using SB = boost::numeric::safe_base;