Fix issues

This commit is contained in:
JCW
2025-08-28 21:55:14 +01:00
parent 257ea88396
commit 1de3fb0450
14 changed files with 162 additions and 131 deletions

View File

@@ -84,12 +84,12 @@ BasePeer<Handler, Impl>::BasePeer(
, handler_(handler)
, remote_address_(remote_address)
, j_(journal,
log::attributes(
log::attr("PeerID",
[] {
static std::atomic<unsigned> id{0};
return "##" + std::to_string(++id) + " ";
}())))
log::attributes(log::attr(
"PeerID",
[] {
static std::atomic<unsigned> id{0};
return "##" + std::to_string(++id) + " ";
}())))
, work_(boost::asio::make_work_guard(executor))
, strand_(boost::asio::make_strand(executor))
{