diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-02-13 17:20:38 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-02-14 09:02:17 +0000 |
commit | e2d6c75d2123d6f30842c7772bf02c679a147e1e (patch) | |
tree | 3ee5aa469f22ad92fb4568173c5a885f0c55f051 | |
parent | d6b3e868aa345f360b29ebddd5300dce5f8d64ec (diff) |
Fix initialization order warnings
Change-Id: Iee2d7fcde2ef0f6ec773c470b41aa666040cfaee
Reviewed-by: Konstantin Podsvirov <konstantin@podsvirov.pro>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/jomlib/makefile.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jomlib/makefile.cpp b/src/jomlib/makefile.cpp index c550f1d..dd79c55 100644 --- a/src/jomlib/makefile.cpp +++ b/src/jomlib/makefile.cpp @@ -57,8 +57,8 @@ Command::Command() } Command::Command(const Command& rhs) -: m_maxExitCode(rhs.m_maxExitCode), - m_commandLine(rhs.m_commandLine), +: m_commandLine(rhs.m_commandLine), + m_maxExitCode(rhs.m_maxExitCode), m_silent(rhs.m_silent), m_singleExecution(rhs.m_singleExecution) { @@ -112,8 +112,8 @@ void Command::evaluateModifiers() DescriptionBlock::DescriptionBlock(Makefile* mkfile) : m_bFileExists(false), - m_canAddCommands(ACSUnknown), m_bVisitedByCycleCheck(false), + m_canAddCommands(ACSUnknown), m_pMakefile(mkfile) { } @@ -367,10 +367,10 @@ InferenceRule::InferenceRule() InferenceRule::InferenceRule(const InferenceRule& rhs) : CommandContainer(rhs), m_batchMode(rhs.m_batchMode), - m_fromExtension(rhs.m_fromExtension), m_fromSearchPath(rhs.m_fromSearchPath), - m_toExtension(rhs.m_toExtension), + m_fromExtension(rhs.m_fromExtension), m_toSearchPath(rhs.m_toSearchPath), + m_toExtension(rhs.m_toExtension), m_priority(rhs.m_priority) { } @@ -404,8 +404,8 @@ QString InferenceRule::inferredDependent(const QString &targetName) const Makefile::Makefile(const QString &fileName) : m_fileName(fileName), - m_macroTable(0), m_firstTarget(0), + m_macroTable(0), m_options(0), m_parallelExecutionDisabled(false) { |