1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

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<>