diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-29 09:21:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-29 09:41:23 +0100 |
commit | 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch) | |
tree | 7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /api | |
parent | 29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff) |
static constexpr -> constexpr
Diffstat (limited to 'api')
-rw-r--r-- | api/plugin-support.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp index 9df11169..acba925c 100644 --- a/api/plugin-support.hpp +++ b/api/plugin-support.hpp @@ -155,8 +155,8 @@ private: if (in.startsWith(OPENTRACK_SOLIB_PREFIX) && in.endsWith("." OPENTRACK_SOLIB_EXT)) { - static constexpr unsigned pfx_len = sizeof(OPENTRACK_SOLIB_PREFIX) - 1; - static constexpr unsigned rst_len = sizeof("." OPENTRACK_SOLIB_EXT) - 1; + constexpr unsigned pfx_len = sizeof(OPENTRACK_SOLIB_PREFIX) - 1; + constexpr unsigned rst_len = sizeof("." OPENTRACK_SOLIB_EXT) - 1; in = in.mid(pfx_len); in = in.left(in.size() - rst_len); |