summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/plugin-support.hpp4
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);