diff --git a/AK/String.h b/AK/String.h index a8471ee4e5..e54b7fb4f2 100644 --- a/AK/String.h +++ b/AK/String.h @@ -67,7 +67,7 @@ public: // Creates a new String from a sequence of UTF-8 encoded code points. static ErrorOr from_utf8(StringView); template - requires(IsOneOf, DeprecatedString, DeprecatedFlyString>) + requires(IsOneOf, DeprecatedString, DeprecatedFlyString, FlyString, String>) static ErrorOr from_utf8(T&&) = delete; // Creates a new String by reading byte_count bytes from a UTF-8 encoded Stream.