Missed a few brace-initializations.

This commit is contained in:
Stephen Anthony 2020-12-27 21:52:13 -03:30
parent 8bf506faba
commit 2a69ba4ed0
1 changed files with 3 additions and 4 deletions

View File

@ -26,10 +26,9 @@ class Cheat
{
public:
Cheat(OSystem& osystem, const string& name, const string& code)
: myOSystem(osystem),
myName(name == "" ? code : name),
myCode(code)
{ }
: myOSystem{osystem},
myName{name == "" ? code : name},
myCode{code} { }
virtual ~Cheat() = default;
bool enabled() const { return myEnabled; }