From 08f22f1cf0e0d133b7ea763dc3886cf462c6fcb2 Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Sat, 8 Dec 2018 15:07:33 -0500 Subject: Moved member variables to initializer list --- drivers/coremidi/core_midi.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'drivers/coremidi') diff --git a/drivers/coremidi/core_midi.cpp b/drivers/coremidi/core_midi.cpp index 2ebbabaa38..a20aec04b5 100644 --- a/drivers/coremidi/core_midi.cpp +++ b/drivers/coremidi/core_midi.cpp @@ -112,13 +112,11 @@ PoolStringArray MIDIDriverCoreMidi::get_connected_inputs() { return list; } -MIDIDriverCoreMidi::MIDIDriverCoreMidi() { - - client = 0; +MIDIDriverCoreMidi::MIDIDriverCoreMidi() : + client(0) { } MIDIDriverCoreMidi::~MIDIDriverCoreMidi() { - close(); } -- cgit v1.2.3