0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

ircd:Ⓜ️🆔:buf: Remove misleading move semantic.

This commit is contained in:
Jason Volk 2019-07-24 16:46:29 -07:00
parent 051af41961
commit c45bfc4379

View file

@ -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;
}
};