diff --git a/source/glest_game/game/game.cpp b/source/glest_game/game/game.cpp index 59b53fbe..ab75645c 100644 --- a/source/glest_game/game/game.cpp +++ b/source/glest_game/game/game.cpp @@ -5325,7 +5325,7 @@ void saveStatsToSteam(Game* game, Stats& endStats) { } saveFilePlayerLocalStats = userData + saveFilePlayerLocalStats; } - std::unique_ptr playerLocalStats(new SteamLocal(saveFilePlayerLocalStats)); + unique_ptr playerLocalStats(new SteamLocal(saveFilePlayerLocalStats)); PlayerAchievementsInterface *playerStats = playerLocalStats.get(); // Write out achievements here