diff --git a/include/fixed_containers/fixed_string.hpp b/include/fixed_containers/fixed_string.hpp index ab462bfb..00a816e6 100644 --- a/include/fixed_containers/fixed_string.hpp +++ b/include/fixed_containers/fixed_string.hpp @@ -651,7 +651,7 @@ class FixedString template std::istream& operator>>(std::istream& stream, FixedString& str) { - // static constexpr std::size_t MAXIMUM_LENGTH_WITH_NULL_TERMINATOR = MAXIMUM_LENGTH + 1; + static constexpr std::size_t MAXIMUM_LENGTH_WITH_NULL_TERMINATOR = MAXIMUM_LENGTH + 1; str.clear(); // Skip leading whitespace (`std::istream >> std::string` behaves the same way) @@ -683,7 +683,8 @@ std::istream& operator>>(std::istream& stream, FixedString