mirror of
https://github.com/SFML/SFML.git
synced 2025-02-23 14:56:02 +08:00
More constexpr
This commit is contained in:
parent
2bf0b16ca3
commit
20d57becf4
@ -99,7 +99,7 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
// NOLINTBEGIN(readability-identifier-naming)
|
||||
/// Represents an invalid position in the string
|
||||
static inline const std::size_t InvalidPos{std::u32string::npos};
|
||||
static constexpr std::size_t InvalidPos{std::u32string::npos};
|
||||
// NOLINTEND(readability-identifier-naming)
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user