diff --git a/include/boost/core/string_view.hpp b/include/boost/core/string_view.hpp index 9009843..f6ba3a1 100644 --- a/include/boost/core/string_view.hpp +++ b/include/boost/core/string_view.hpp @@ -566,7 +566,7 @@ public: }; #if defined(BOOST_NO_CXX17_INLINE_VARIABLES) -template std::size_t const basic_string_view::npos; +template BOOST_CONSTEXPR_OR_CONST std::size_t basic_string_view::npos; #endif typedef basic_string_view string_view;