AK: Forward substring creation with shared superstring to StringBase

This commit is contained in:
Dan Klishch
2023-10-28 17:50:24 -04:00
committed by Andrew Kaster
parent 5d6cd65e29
commit e7700e16ee
5 changed files with 34 additions and 5 deletions

View File

@@ -196,6 +196,11 @@ public:
private:
using ShortString = Detail::ShortString;
explicit constexpr String(StringBase&& base)
: StringBase(move(base))
{
}
};
template<>