diff --git a/AK/ByteString.h b/AK/ByteString.h index 024d2f5f05..34046f3e19 100644 --- a/AK/ByteString.h +++ b/AK/ByteString.h @@ -189,7 +189,7 @@ public: return bit_cast((*m_impl)[i]); } - using ConstIterator = SimpleIterator; + using ConstIterator = SimpleIterator; [[nodiscard]] constexpr ConstIterator begin() const { return ConstIterator::begin(*this); } [[nodiscard]] constexpr ConstIterator end() const { return ConstIterator::end(*this); } diff --git a/AK/StringUtils.cpp b/AK/StringUtils.cpp index 5952003055..23d41c0335 100644 --- a/AK/StringUtils.cpp +++ b/AK/StringUtils.cpp @@ -174,7 +174,7 @@ Optional convert_to_uint_from_hex(StringView str, TrimWhitespace trim_whitesp T value = 0; auto const count = string.length(); - const T upper_bound = NumericLimits::max(); + T const upper_bound = NumericLimits::max(); for (size_t i = 0; i < count; i++) { char digit = string[i]; @@ -213,7 +213,7 @@ Optional convert_to_uint_from_octal(StringView str, TrimWhitespace trim_white T value = 0; auto const count = string.length(); - const T upper_bound = NumericLimits::max(); + T const upper_bound = NumericLimits::max(); for (size_t i = 0; i < count; i++) { char digit = string[i]; diff --git a/AK/StringView.h b/AK/StringView.h index 31c5172461..00a1955929 100644 --- a/AK/StringView.h +++ b/AK/StringView.h @@ -83,7 +83,7 @@ public: return m_characters[index]; } - using ConstIterator = SimpleIterator; + using ConstIterator = SimpleIterator; [[nodiscard]] constexpr ConstIterator begin() const { return ConstIterator::begin(*this); } [[nodiscard]] constexpr ConstIterator end() const { return ConstIterator::end(*this); }