mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
AK: Convert a couple String-related declarations to east-const
Caught by clang-format-17. Note that clang-format-16 is fine with this as well (it leaves the const placement alone), it just doesn't perform the formatting to east-const itself.
This commit is contained in:
parent
b8cbc282f3
commit
9cab4958e6
3 changed files with 4 additions and 4 deletions
|
@ -83,7 +83,7 @@ public:
|
|||
return m_characters[index];
|
||||
}
|
||||
|
||||
using ConstIterator = SimpleIterator<const StringView, char const>;
|
||||
using ConstIterator = SimpleIterator<StringView const, char const>;
|
||||
|
||||
[[nodiscard]] constexpr ConstIterator begin() const { return ConstIterator::begin(*this); }
|
||||
[[nodiscard]] constexpr ConstIterator end() const { return ConstIterator::end(*this); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue