1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:17:46 +00:00

AK: Simplify Utf16View::operator==(Utf16View)

This commit is contained in:
Andreas Kling 2021-10-02 17:49:02 +02:00
parent f0b3a06746
commit 87290e300e
2 changed files with 1 additions and 16 deletions

View file

@ -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,