aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
authorBastien Bouclet2018-05-10 09:26:26 +0200
committerBastien Bouclet2018-05-10 09:26:26 +0200
commit1dcb8076db64420ab28722a73583f89b38314e71 (patch)
tree84b14cadcdc06c9fcb161a1f81b3918f2b5b6729 /engines/sword2
parent2fe060e5c9491ddd7c8f639aab5d7c58c7c73092 (diff)
downloadscummvm-rg350-1dcb8076db64420ab28722a73583f89b38314e71.tar.gz
scummvm-rg350-1dcb8076db64420ab28722a73583f89b38314e71.tar.bz2
scummvm-rg350-1dcb8076db64420ab28722a73583f89b38314e71.zip
ENGINES: Remove usage of C++11 extended initializer lists
Diffstat (limited to 'engines/sword2')
-rw-r--r--engines/sword2/sword2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index 0ec0e3f726..4d8399e630 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -123,7 +123,7 @@ PlainGameList Sword2MetaEngine::getSupportedGames() const {
const Sword2::GameSettings *g = Sword2::sword2_settings;
PlainGameList games;
while (g->gameid) {
- games.push_back(PlainGameDescriptor(g->gameid, g->description));
+ games.push_back(PlainGameDescriptor::of(g->gameid, g->description));
g++;
}
return games;
@@ -142,7 +142,7 @@ PlainGameDescriptor Sword2MetaEngine::findGame(const char *gameid) const {
break;
g++;
}
- return PlainGameDescriptor(g->gameid, g->description);
+ return PlainGameDescriptor::of(g->gameid, g->description);
}
bool isFullGame(const Common::FSList &fslist) {