From b66a3ba46fe38fee196b77dc5d7d5c6299660b82 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 15 Sep 2015 21:05:37 +1000 Subject: [PATCH] coord: make size method constexpr --- coord/base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coord/base.hpp b/coord/base.hpp index 4172e2d6..a8b37367 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; - size_t size (void) const { return S; } + constexpr size_t size (void) const { return S; } // constructors using init::init;