Skip to content

Commit

Permalink
Replace use of io.post() with boost::asio::post
Browse files Browse the repository at this point in the history
Necessary since Boost 1.87, which deprecated the post() member function.

Re ECFLOW-1957
  • Loading branch information
marcosbento committed Jan 31, 2025
1 parent 0b968c0 commit 0621b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/server/src/ecflow/server/HttpServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void HttpServer::handle_terminate(bool terminate) {
std::cout << " <-- HttpServer exiting server via terminate()" << std::endl;
}

io_.post([this]() {
boost::asio::post(io_, [this]() {
server_->handle_terminate();
acceptor_.close();
io_.stop();
Expand Down

0 comments on commit 0621b76

Please sign in to comment.