summaryrefslogtreecommitdiff
path: root/drivers/coremidi
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-12-08 15:07:33 -0500
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-12-11 18:33:01 -0500
commit08f22f1cf0e0d133b7ea763dc3886cf462c6fcb2 (patch)
tree5f4321fb0e3150ca159598b6badcf1a90d1fdcd6 /drivers/coremidi
parent41d1dba35fc851258d5aabad819d09f6a43e324c (diff)
Moved member variables to initializer list
Diffstat (limited to 'drivers/coremidi')
-rw-r--r--drivers/coremidi/core_midi.cpp6
1 files changed, 2 insertions, 4 deletions
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();
}