From 1dcb8076db64420ab28722a73583f89b38314e71 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 10 May 2018 09:26:26 +0200 Subject: ENGINES: Remove usage of C++11 extended initializer lists --- engines/sword2/sword2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword2') 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) { -- cgit v1.2.3