From 9a1a75d6235b8a7d0e558778490cba5a02bdb38c Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 15 May 2015 11:01:11 +1000 Subject: [PATCH] maths: correct constness of PI instantiations --- maths.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maths.cpp b/maths.cpp index 14084674..23c57bfc 100644 --- a/maths.cpp +++ b/maths.cpp @@ -150,8 +150,8 @@ template uint64_t round_pow2 (uint64_t); //----------------------------------------------------------------------------- -template float PI; -template double PI; +template const float PI; +template const double PI; //-----------------------------------------------------------------------------