Commit 6979a8f2 authored by Tobias Hunger's avatar Tobias Hunger

IosBuildStep: Use member initialization

Change-Id: If64e3ca3c2457e88f2eba948eee6a7a9a127d346
Reviewed-by: Vikas Pachdha's avatarVikas Pachdha <vikas.pachdha@qt.io>
parent d8e0ecb0
......@@ -60,17 +60,13 @@ const char BUILD_ARGUMENTS_KEY[] = "Ios.IosBuildStep.XcodeArguments";
const char CLEAN_KEY[] = "Ios.IosBuildStep.Clean";
IosBuildStep::IosBuildStep(BuildStepList *parent) :
AbstractProcessStep(parent, Id(IOS_BUILD_STEP_ID)),
m_useDefaultArguments(true),
m_clean(false)
AbstractProcessStep(parent, Id(IOS_BUILD_STEP_ID))
{
ctor();
}
IosBuildStep::IosBuildStep(BuildStepList *parent, const Id id) :
AbstractProcessStep(parent, id),
m_useDefaultArguments(true),
m_clean(false)
AbstractProcessStep(parent, id)
{
ctor();
}
......
......@@ -74,9 +74,8 @@ private:
QStringList m_baseBuildArguments;
QStringList m_extraArguments;
QString m_buildCommand;
bool m_useDefaultArguments;
bool m_clean;
bool m_useDefaultArguments = true;
bool m_clean = false;
};
class IosBuildStepConfigWidget : public ProjectExplorer::BuildStepConfigWidget
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment