mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Changed inline const to constexpr
This commit is contained in:
parent
8587a1b946
commit
77dcd712fb
@ -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<std::uint32_t>::npos};
|
||||
static constexpr std::size_t InvalidPos{std::basic_string<std::uint32_t>::npos};
|
||||
// NOLINTEND(readability-identifier-naming)
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user