mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::ctx: Deinline to_asio continuation ctor.
This commit is contained in:
parent
10d59dec9a
commit
3ffb91d0fd
2 changed files with 6 additions and 6 deletions
|
@ -74,10 +74,6 @@ struct ircd::ctx::to_asio
|
|||
|
||||
void interrupted(ctx *const &) noexcept final override;
|
||||
|
||||
to_asio(const function &handler = {});
|
||||
to_asio(function handler);
|
||||
to_asio() = default;
|
||||
};
|
||||
|
||||
inline
|
||||
ircd::ctx::to_asio::to_asio(const function &handler)
|
||||
:handler{handler}
|
||||
{}
|
||||
|
|
|
@ -818,6 +818,10 @@ const
|
|||
// to_asio
|
||||
//
|
||||
|
||||
ircd::ctx::to_asio::to_asio(function handler)
|
||||
:handler{std::move(handler)}
|
||||
{}
|
||||
|
||||
void
|
||||
ircd::ctx::to_asio::interrupted(ctx *const &interruptor)
|
||||
noexcept
|
||||
|
|
Loading…
Reference in a new issue