Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Aug 28, 2017
1 parent d3fe82b commit f730338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_initialization/lobby_info.cpp
Expand Up @@ -162,7 +162,7 @@ bool lobby_info::process_gamelist_diff(const config& data)
const std::string& diff_result = c[config::diff_track_attribute];
if(diff_result == "new" || diff_result == "modified") {
if(current_i == games_by_id_.end()) {
games_by_id_.emplace(game_id, new game_info(c, game_config_, installed_addons_));
games_by_id_.emplace(game_id, std::unique_ptr<game_info>(new game_info(c, game_config_, installed_addons_)));
continue;
}

Expand Down

0 comments on commit f730338

Please sign in to comment.