mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Forward substring creation with shared superstring to StringBase
This commit is contained in:
committed by
Andrew Kaster
parent
5d6cd65e29
commit
e7700e16ee
@@ -196,6 +196,11 @@ public:
|
||||
|
||||
private:
|
||||
using ShortString = Detail::ShortString;
|
||||
|
||||
explicit constexpr String(StringBase&& base)
|
||||
: StringBase(move(base))
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
|
||||
Reference in New Issue
Block a user