aboutsummaryrefslogtreecommitdiff
path: root/engines/game.h
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/game.h
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/game.h')
-rw-r--r--engines/game.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/game.h b/engines/game.h
index 660a94ad6c..14f9962ce6 100644
--- a/engines/game.h
+++ b/engines/game.h
@@ -39,8 +39,8 @@ struct PlainGameDescriptor {
const char *gameId;
const char *description;
- PlainGameDescriptor() : gameId(nullptr), description(nullptr) {}
- PlainGameDescriptor(const char *id, const char *desc) : gameId(id), description(desc) {}
+ static PlainGameDescriptor empty();
+ static PlainGameDescriptor of(const char *gameId, const char *description);
};
/**