0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

ircd::server::tag: Use explicit move assignment operations.

This commit is contained in:
Jason Volk 2019-09-14 16:55:57 -07:00
parent da6fd3e3ab
commit 398851af68

View file

@ -125,11 +125,10 @@ ircd::server::tag::operator=(tag &&o)
noexcept
{
this->~tag();
new (this) tag
{
std::move(o)
};
state = std::move(o.state);
p = std::move(o.p);
request = std::move(o.request);
cancellation = std::move(o.cancellation);
return *this;
}