0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02: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 noexcept
{ {
this->~tag(); this->~tag();
new (this) tag state = std::move(o.state);
{ p = std::move(o.p);
std::move(o) request = std::move(o.request);
}; cancellation = std::move(o.cancellation);
return *this; return *this;
} }