1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

AK: Unify FlyString/StringView::ends_with implementation on StringUtils::ends_with

This creates a unified implementation of ends_with with case sensitivity
across String/StringView/FlyString.
This commit is contained in:
Brian Gianforcaro 2020-05-26 03:21:34 -07:00 committed by Andreas Kling
parent 332f96e7ca
commit 129462cca7
4 changed files with 9 additions and 9 deletions

View file

@ -85,6 +85,7 @@ public:
int to_int(bool& ok) const;
bool equals_ignoring_case(const StringView&) const;
bool ends_with(const StringView&, CaseSensitivity = CaseSensitivity::CaseSensitive) const;
static void did_destroy_impl(Badge<StringImpl>, StringImpl&);