[Scummvm-git-logs] scummvm master -> 3b61377f6b49d162c4f48aa6dfdad14b0f612357

lephilousophe lephilousophe at users.noreply.github.com
Sat Jun 12 15:06:58 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3b61377f6b ACHIEVEMENTS: Remove C++11 constructs


Commit: 3b61377f6b49d162c4f48aa6dfdad14b0f612357
    https://github.com/scummvm/scummvm/commit/3b61377f6b49d162c4f48aa6dfdad14b0f612357
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-06-12T17:06:31+02:00

Commit Message:
ACHIEVEMENTS: Remove C++11 constructs

Changed paths:
    common/achievements.cpp


diff --git a/common/achievements.cpp b/common/achievements.cpp
index e598547588..74d2326ede 100644
--- a/common/achievements.cpp
+++ b/common/achievements.cpp
@@ -153,7 +153,8 @@ bool AchievementsManager::loadAchievementsData(const char *platform, const char
 			if (id.empty()) {
 				break;
 			} else {
-				_achievements[lang].push_back({id, title, comment, !hidden.empty()});
+				AchievementDescription desc = { id, title, comment, !hidden.empty() };
+				_achievements[lang].push_back(desc);
 			}
 		}
 	} 
@@ -170,7 +171,8 @@ bool AchievementsManager::loadAchievementsData(const char *platform, const char
 		if (id.empty()) {
 			break;
 		} else {
-			_stats.push_back({id, comment, start});
+			StatDescription desc = {id, comment, start};
+			_stats.push_back(desc);
 		}
 	}
 




More information about the Scummvm-git-logs mailing list