...
This commit is contained in:
@@ -99,10 +99,10 @@ public:
|
||||
logInfo(std::format("Create mount server instance (thread ID = {})", st.str()));
|
||||
}
|
||||
|
||||
template <typename... LoggerArgsTs>
|
||||
MccNetworkServer(asio::io_context& ctx, const handle_message_func_t& func, LoggerArgsTs&&... log_args)
|
||||
template <typename... LoggerCtorArgsTs>
|
||||
MccNetworkServer(asio::io_context& ctx, const handle_message_func_t& func, LoggerCtorArgsTs&&... log_args)
|
||||
requires(not std::same_as<LoggerT, MccNullLogger>)
|
||||
: LoggerT(std::forward<LoggerArgsTs>(log_args)...),
|
||||
: LoggerT(std::forward<LoggerCtorArgsTs>(log_args)...),
|
||||
_asioContext(ctx),
|
||||
_handleMessageFunc(func),
|
||||
_stopSignal(ctx),
|
||||
|
||||
Reference in New Issue
Block a user