From a141fd477a3fdbd1d5b9f87b69d1f0c11bd16dca Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 3 Dec 2009 01:10:12 +0100 Subject: [PATCH] AutomatableModel: fix member variable initialization order Initialize member variables of AutomatableModel in order of their declaration to fix compiler warning. --- src/core/AutomatableModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/AutomatableModel.cpp b/src/core/AutomatableModel.cpp index 7762edcb8..d7679ce77 100644 --- a/src/core/AutomatableModel.cpp +++ b/src/core/AutomatableModel.cpp @@ -46,8 +46,8 @@ AutomatableModel::AutomatableModel( DataType _type, Model( _parent, _display_name, _default_constructed ), m_minValue( _min ), m_maxValue( _max ), - m_dataType( _type ), m_value( _val ), + m_dataType( _type ), m_initValue( _val ), m_step( _step ), m_range( _max - _min ),