summaryrefslogtreecommitdiff
path: root/drumgizmo/input
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-25 12:38:10 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:16 +0100
commit5be94a08bfb4f8349d410ca3376cbfa66558b4c9 (patch)
treeac95dd34af4729840d46d5a701b21682bb9d1235 /drumgizmo/input
parent41b6ef4642b25c22e47e5f89f113b502d3a4321c (diff)
Fixed initialization order
Diffstat (limited to 'drumgizmo/input')
-rw-r--r--drumgizmo/input/jackmidi.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc
index 2d399c2..7f9ca2f 100644
--- a/drumgizmo/input/jackmidi.cc
+++ b/drumgizmo/input/jackmidi.cc
@@ -39,8 +39,9 @@ JackMidiInputEngine::JackMidiInputEngine(JackClient& client)
, port{nullptr}
, midimap{}
, midi_mapper{}
+ , pos{0u}
, list{nullptr}
- , pos{0u} {
+ , listsize{0u} {
client.add(*this);
}