]> git.pld-linux.org Git - packages/OpenSceneGraph.git/blob - OpenSceneGraph-asio.patch
998563d03a9399cc39ab2583da46c12a9c59a092
[packages/OpenSceneGraph.git] / OpenSceneGraph-asio.patch
1 --- OpenSceneGraph-3.5.1/src/osgPlugins/RestHttpDevice/server.cpp.orig  2013-06-19 19:25:55.000000000 +0200
2 +++ OpenSceneGraph-3.5.1/src/osgPlugins/RestHttpDevice/server.cpp       2023-03-29 21:53:19.150878828 +0200
3 @@ -23,7 +23,7 @@ server::server(const std::string& addres
4      request_handler_(doc_root)
5  {
6    // Open the acceptor with the option to reuse the address (i.e. SO_REUSEADDR).
7 -  asio::ip::tcp::resolver resolver(acceptor_.get_io_service());
8 +  asio::ip::tcp::resolver resolver((asio::io_context&)acceptor_.get_executor().context());
9    asio::ip::tcp::resolver::query query(address, port);
10    asio::ip::tcp::endpoint endpoint = *resolver.resolve(query);
11    acceptor_.open(endpoint.protocol());
This page took 0.063372 seconds and 2 git commands to generate.