From 905f4de303fe7ca1c90f305419fe6227d6ce6945 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 21 Sep 2015 15:34:46 +1000 Subject: [PATCH] coord: make size accessor static static members work on expressions in c++11 now. --- coord/base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coord/base.hpp b/coord/base.hpp index a8b37367..a3a21c0c 100644 --- a/coord/base.hpp +++ b/coord/base.hpp @@ -33,7 +33,7 @@ namespace util { namespace coord { static constexpr size_t dimension = S; static constexpr size_t elements = S; - constexpr size_t size (void) const { return S; } + static constexpr size_t size (void) { return S; } // constructors using init::init; @@ -65,7 +65,7 @@ namespace util { namespace coord { return k; } - //--------------------------------------------------------------------- + //--------------------------------- template KLASS cast (void) const