diff --git a/AK/DeprecatedFlyString.h b/AK/DeprecatedFlyString.h index 174b2d9d184..3a64ab91f31 100644 --- a/AK/DeprecatedFlyString.h +++ b/AK/DeprecatedFlyString.h @@ -69,6 +69,12 @@ public: DeprecatedFlyString to_lowercase() const; + template + Optional to_number(TrimWhitespace trim_whitespace = TrimWhitespace::Yes) const + { + return view().to_number(trim_whitespace); + } + template Optional to_int(TrimWhitespace = TrimWhitespace::Yes) const; template