aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-21 01:56:14 -0500
committerLioncash <mathew1800@gmail.com>2018-11-21 02:08:18 -0500
commit60d2e259bbc9037645b2dcc2533761a3ec93bfbb (patch)
tree5ad7ab46c85b9c3a4a10060f36d7bd71f9dc1abd /src/common
parentb3577fccc1fd3e3699969f8aac46e109c029a9e3 (diff)
common/math_util: Remove unnecessary static from PI
const/constexpr variables have internal linkage by default.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/math_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h
index b553d47ddb..cbcc414be5 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 {