From 2a69ba4ed0a2063f798f96a308f76a902d892cd2 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sun, 27 Dec 2020 21:52:13 -0330 Subject: [PATCH] Missed a few brace-initializations. --- src/cheat/Cheat.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cheat/Cheat.hxx b/src/cheat/Cheat.hxx index 4979fca51..bde8b007a 100644 --- a/src/cheat/Cheat.hxx +++ b/src/cheat/Cheat.hxx @@ -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; }