0
0
Fork 0
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:
Jason Volk 2022-07-08 15:21:47 -07:00
parent 09021ac28b
commit fe55c05f11

View file

@ -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