Skip to content

Commit c87efb4

Browse files
committed
Adapt for network::CONCURRENT2 rename.
1 parent d200a12 commit c87efb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/sessions/session_block_sync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void session_block_sync::start(result_handler handler)
6060
{
6161
// TODO: create session_timer base class and pass interval via start.
6262
timer_ = std::make_shared<deadline>(pool_, regulator_interval);
63-
session::start(CONCURRENT2(handle_started, _1, handler));
63+
session::start(CONCURRENT_DELEGATE2(handle_started, _1, handler));
6464
}
6565

6666
void session_block_sync::handle_started(const code& ec, result_handler handler)

src/sessions/session_header_sync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ session_header_sync::session_header_sync(full_node& network,
6969

7070
void session_header_sync::start(result_handler handler)
7171
{
72-
session::start(CONCURRENT2(handle_started, _1, handler));
72+
session::start(CONCURRENT_DELEGATE2(handle_started, _1, handler));
7373
}
7474

7575
void session_header_sync::handle_started(const code& ec,

0 commit comments

Comments
 (0)