diff options
author | Bastien Bouclet | 2018-05-10 09:26:26 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 09:26:26 +0200 |
commit | 1dcb8076db64420ab28722a73583f89b38314e71 (patch) | |
tree | 84b14cadcdc06c9fcb161a1f81b3918f2b5b6729 /engines/game.h | |
parent | 2fe060e5c9491ddd7c8f639aab5d7c58c7c73092 (diff) | |
download | scummvm-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.h | 4 |
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); }; /** |