mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +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;
|
explicit StringView(DeprecatedFlyString&&) = delete;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
template<OneOf<String, DeprecatedString, DeprecatedFlyString, ByteBuffer> StringType>
|
||||||
|
StringView& operator=(StringType&&) = delete;
|
||||||
|
|
||||||
[[nodiscard]] constexpr bool is_null() const
|
[[nodiscard]] constexpr bool is_null() const
|
||||||
{
|
{
|
||||||
return m_characters == nullptr;
|
return m_characters == nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue