diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-02 17:49:02 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-02 18:32:56 +0200 |
commit | 87290e300eae8cdad244a034dbd574077f0b169e (patch) | |
tree | f29c4286d6e28b9390dbb04773ffebd0c834bfd8 /AK/Utf16View.h | |
parent | f0b3a06746aec51ef43366f73bdb766673157c48 (diff) | |
download | serenity-87290e300eae8cdad244a034dbd574077f0b169e.zip |
AK: Simplify Utf16View::operator==(Utf16View)
Diffstat (limited to 'AK/Utf16View.h')
-rw-r--r-- | AK/Utf16View.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Utf16View.h b/AK/Utf16View.h index 805ab08000..348ef085e8 100644 --- a/AK/Utf16View.h +++ b/AK/Utf16View.h @@ -70,7 +70,7 @@ public: { } - bool operator==(Utf16View const& other) const; + bool operator==(Utf16View const& other) const { return m_code_units == other.m_code_units; } enum class AllowInvalidCodeUnits { Yes, |