mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
AK: Delete the StringView move-assignment operator for various types
This commit is contained in:
parent
c55a5add0f
commit
b61f8cd130
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ public:
|
|||
explicit StringView(DeprecatedFlyString&&) = delete;
|
||||
#endif
|
||||
|
||||
template<OneOf<String, DeprecatedString, DeprecatedFlyString, ByteBuffer> StringType>
|
||||
StringView& operator=(StringType&&) = delete;
|
||||
|
||||
[[nodiscard]] constexpr bool is_null() const
|
||||
{
|
||||
return m_characters == nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue