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:
|
public:
|
||||||
Cheat(OSystem& osystem, const string& name, const string& code)
|
Cheat(OSystem& osystem, const string& name, const string& code)
|
||||||
: myOSystem(osystem),
|
: myOSystem{osystem},
|
||||||
myName(name == "" ? code : name),
|
myName{name == "" ? code : name},
|
||||||
myCode(code)
|
myCode{code} { }
|
||||||
{ }
|
|
||||||
virtual ~Cheat() = default;
|
virtual ~Cheat() = default;
|
||||||
|
|
||||||
bool enabled() const { return myEnabled; }
|
bool enabled() const { return myEnabled; }
|
||||||
|
|
Loading…
Reference in New Issue