diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-21 01:56:14 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-21 02:08:18 -0500 |
commit | cc0801745a37c35e98562239b3121dc658366a79 (patch) | |
tree | 5ad7ab46c85b9c3a4a10060f36d7bd71f9dc1abd /src/common/math_util.h | |
parent | 74fd0aa2e8b41d2ec130b06478fe011117fdbae8 (diff) |
common/math_util: Remove unnecessary static from PI
const/constexpr variables have internal linkage by default.
Diffstat (limited to 'src/common/math_util.h')
-rw-r--r-- | src/common/math_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <class T> struct Rectangle { |