mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
ircd:Ⓜ️🆔:buf: Remove misleading move semantic.
This commit is contained in:
parent
051af41961
commit
c45bfc4379
1 changed files with 0 additions and 11 deletions
|
@ -370,15 +370,4 @@ struct ircd::m::id::buf
|
|||
|
||||
return *this;
|
||||
}
|
||||
|
||||
buf &operator=(buf &&other) noexcept
|
||||
{
|
||||
this->~buf();
|
||||
static_cast<string_view &>(*this) =
|
||||
{
|
||||
b.data(), buffer::copy(b, string_view{other})
|
||||
};
|
||||
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue