From cc0801745a37c35e98562239b3121dc658366a79 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 21 Nov 2018 01:56:14 -0500 Subject: common/math_util: Remove unnecessary static from PI const/constexpr variables have internal linkage by default. --- src/common/math_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/math_util.h b/src/common/math_util.h index b553d47dd..cbcc414be 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -9,7 +9,7 @@ namespace MathUtil { -static constexpr float PI = 3.14159265f; +constexpr float PI = 3.14159265f; template struct Rectangle { -- cgit v1.2.3