diff --git a/AK/FlyString.h b/AK/FlyString.h index 26131678495..0e107053e0a 100644 --- a/AK/FlyString.h +++ b/AK/FlyString.h @@ -28,6 +28,14 @@ public: { } + static FlyString from_fly_impl(NonnullRefPtr impl) + { + VERIFY(impl->is_fly()); + FlyString string; + string.m_impl = move(impl); + return string; + } + FlyString& operator=(const FlyString& other) { m_impl = other.m_impl;