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 | 60d2e259bbc9037645b2dcc2533761a3ec93bfbb (patch) | |
| tree | 5ad7ab46c85b9c3a4a10060f36d7bd71f9dc1abd | |
| parent | b3577fccc1fd3e3699969f8aac46e109c029a9e3 (diff) | |
common/math_util: Remove unnecessary static from PI
const/constexpr variables have internal linkage by default.
| -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 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 { |
