From 77dcd712fb09322222357468db059aa5d0c1acfd Mon Sep 17 00:00:00 2001 From: Jim-Marsden Date: Mon, 19 Dec 2022 14:08:26 -0800 Subject: [PATCH] Changed inline const to constexpr --- include/SFML/System/String.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/System/String.hpp b/include/SFML/System/String.hpp index ee737529a..a5757c9e2 100644 --- a/include/SFML/System/String.hpp +++ b/include/SFML/System/String.hpp @@ -58,7 +58,7 @@ public: //////////////////////////////////////////////////////////// // NOLINTBEGIN(readability-identifier-naming) /// Represents an invalid position in the string - static inline const std::size_t InvalidPos{std::basic_string::npos}; + static constexpr std::size_t InvalidPos{std::basic_string::npos}; // NOLINTEND(readability-identifier-naming) ////////////////////////////////////////////////////////////