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