Skip to content

Commit cdacefe

Browse files
committed
Replace use of io.post() with boost::asio::post
Necessary since Boost 1.87, which deprecated the post() member function. Re ECFLOW-1957
1 parent 0c0e625 commit cdacefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/server/src/ecflow/server/HttpServer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void HttpServer::handle_terminate(bool terminate) {
228228
std::cout << " <-- HttpServer exiting server via terminate()" << std::endl;
229229
}
230230

231-
io_.post([this]() {
231+
boost::asio::post(io_, [this]() {
232232
server_->handle_terminate();
233233
acceptor_.close();
234234
io_.stop();

0 commit comments

Comments
 (0)