From e4bd7f1c180cc3b045693261b0c4c16ca447cf9d Mon Sep 17 00:00:00 2001 From: Francois Best Date: Thu, 13 Oct 2016 19:01:59 +0200 Subject: [PATCH] Fix initialization order warnings. --- src/MIDI.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MIDI.h b/src/MIDI.h index 11f0605..ebedba4 100644 --- a/src/MIDI.h +++ b/src/MIDI.h @@ -230,9 +230,12 @@ private: typedef Message MidiMessage; private: + SerialPort& mSerial; + +private: + Channel mInputChannel; StatusByte mRunningStatus_RX; StatusByte mRunningStatus_TX; - Channel mInputChannel; byte mPendingMessage[3]; unsigned mPendingMessageExpectedLenght; unsigned mPendingMessageIndex; @@ -243,9 +246,6 @@ private: private: inline StatusByte getStatus(MidiType inType, Channel inChannel) const; - -private: - SerialPort& mSerial; }; // -----------------------------------------------------------------------------