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:
parent
5d6cd65e29
commit
e7700e16ee
5 changed files with 34 additions and 5 deletions
|
@ -196,6 +196,11 @@ public:
|
|||
|
||||
private:
|
||||
using ShortString = Detail::ShortString;
|
||||
|
||||
explicit constexpr String(StringBase&& base)
|
||||
: StringBase(move(base))
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue