diff --git a/bear-engine/core/src/engine/code/game_network.cpp b/bear-engine/core/src/engine/code/game_network.cpp index a6abff1..a2cf231 100644 --- a/bear-engine/core/src/engine/code/game_network.cpp +++ b/bear-engine/core/src/engine/code/game_network.cpp @@ -148,7 +148,7 @@ void bear::engine::game_network::create_service { net::server* s = new net::server(port); s->on_new_client.connect - ( boost::bind( &game_network::on_new_client, this, s, _1 ) ); + ( boost::bind( &game_network::on_new_client, this, s, boost::placeholders::_1 ) ); m_server[name] = s; } } // game_network::create_service() index e7d55b7..b01dcae 100644 --- a/bear-engine/core/src/net/code/client.cpp +++ b/bear-engine/core/src/net/code/client.cpp @@ -101,7 +101,7 @@ bear::net::message_handle bear::net::client::pull_message() void bear::net::client::connect() { const connection_task connection - ( boost::bind( &client::set_stream, this, _1 ), + ( boost::bind( &client::set_stream, this, boost::placeholders::_1 ), m_host, m_port, m_read_time_limit ); //m_connection = new boost::thread(connection); connection();