Skip to content

Commit

Permalink
Revert a part of ecb72d5
Browse files Browse the repository at this point in the history
I guess boost::multi_index doesn't have emplace on the version of Boost Travis uses?
  • Loading branch information
Vultraz committed Nov 10, 2017
1 parent 71b32ce commit 68f4d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.cpp
Expand Up @@ -809,7 +809,7 @@ void server::send_password_request(socket_ptr socket, const std::string& msg,
void server::add_player(socket_ptr socket, const wesnothd::player& player)
{
bool inserted;
std::tie(std::ignore, inserted) = player_connections_.emplace(socket, player);
std::tie(std::ignore, inserted) = player_connections_.insert(player_connections::value_type(socket, player));
assert(inserted);

send_to_player(socket, games_and_users_list_);
Expand Down

0 comments on commit 68f4d6b

Please sign in to comment.