From 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Oct 2017 09:21:41 +0100 Subject: static constexpr -> constexpr --- api/plugin-support.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api') 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); -- cgit v1.2.3