mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +01:00
ircd::server: Remove problematic tag move assignment operator.
This commit is contained in:
parent
09021ac28b
commit
fe55c05f11
1 changed files with 1 additions and 13 deletions
|
@ -93,7 +93,7 @@ struct ircd::server::tag
|
||||||
tag(server::request &) noexcept;
|
tag(server::request &) noexcept;
|
||||||
tag(tag &&) noexcept;
|
tag(tag &&) noexcept;
|
||||||
tag(const tag &) = delete;
|
tag(const tag &) = delete;
|
||||||
tag &operator=(tag &&) noexcept;
|
tag &operator=(tag &&) = delete;
|
||||||
tag &operator=(const tag &) = delete;
|
tag &operator=(const tag &) = delete;
|
||||||
~tag() noexcept;
|
~tag() noexcept;
|
||||||
};
|
};
|
||||||
|
@ -120,18 +120,6 @@ noexcept
|
||||||
assert(!o.cancellation);
|
assert(!o.cancellation);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline ircd::server::tag &
|
|
||||||
ircd::server::tag::operator=(tag &&o)
|
|
||||||
noexcept
|
|
||||||
{
|
|
||||||
this->~tag();
|
|
||||||
state = std::move(o.state);
|
|
||||||
p = std::move(o.p);
|
|
||||||
request = std::move(o.request);
|
|
||||||
cancellation = std::move(o.cancellation);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline
|
inline
|
||||||
ircd::server::tag::~tag()
|
ircd::server::tag::~tag()
|
||||||
noexcept
|
noexcept
|
||||||
|
|
Loading…
Reference in a new issue