From 293bb931734f2fb804c9c0c424ee4c6c3f359632 Mon Sep 17 00:00:00 2001 From: Jonas Trappenberg Date: Mon, 12 Jan 2015 22:01:56 -0800 Subject: [PATCH] Match code style of other declaration further down --- src/gui/editors/PianoRoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 3e4b8595a..f1244dc88 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -3814,7 +3814,7 @@ int PianoRoll::quantization() const void PianoRoll::updateSemiToneMarkerMenu() { - auto chord_table = InstrumentFunctionNoteStacking::ChordTable::getInstance(); + const auto& chord_table = InstrumentFunctionNoteStacking::ChordTable::getInstance(); const InstrumentFunctionNoteStacking::Chord& scale = chord_table.getScaleByName( m_scaleModel.currentText() ); const InstrumentFunctionNoteStacking::Chord& chord =