changeset 756:39808338e771 pitch-align

Fix argument passing mistake
author Chris Cannam
date Mon, 27 Apr 2020 14:59:50 +0100
parents b27815194752
children f32df46d0c84
files align/Align.cpp align/Align.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/align/Align.cpp	Fri Apr 24 17:24:56 2020 +0100
+++ b/align/Align.cpp	Mon Apr 27 14:59:50 2020 +0100
@@ -61,7 +61,7 @@
 }
 
 void
-Align::getAlignerPreference(bool useProgram, QString program)
+Align::getAlignerPreference(bool &useProgram, QString &program)
 {
     QSettings settings;
     settings.beginGroup("Preferences");
--- a/align/Align.h	Fri Apr 24 17:24:56 2020 +0100
+++ b/align/Align.h	Mon Apr 27 14:59:50 2020 +0100
@@ -91,7 +91,7 @@
     // we don't key this on the whole (reference, toAlign) pair
     std::map<ModelId, std::shared_ptr<Aligner>> m_aligners;
 
-    static void getAlignerPreference(bool useProgram, QString program);
+    static void getAlignerPreference(bool &useProgram, QString &program);
 };
 
 #endif