More constexpr

This commit is contained in:
Chris Thrasher 2024-11-22 14:13:19 -07:00
parent 2bf0b16ca3
commit 20d57becf4
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C

View File

@ -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)
////////////////////////////////////////////////////////////