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:
parent
da6fd3e3ab
commit
398851af68
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue