mirror of https://github.com/stella-emu/stella.git
Missed a few brace-initializations.
This commit is contained in:
parent
8bf506faba
commit
2a69ba4ed0
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue