diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index 52b59eaaeb1..dd445dbdd91 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -82,19 +82,6 @@ CustomToolChain::CustomToolChain(Detection d) : m_outputParser(Gcc) { } -CustomToolChain::CustomToolChain(const QByteArray &id, Detection d) : - ToolChain(id, d) -{ } - -CustomToolChain::CustomToolChain(const CustomToolChain &tc) : - ToolChain(tc), - m_compilerCommand(tc.m_compilerCommand), - m_makeCommand(tc.m_makeCommand), - m_targetAbi(tc.m_targetAbi), - m_predefinedMacros(tc.m_predefinedMacros), - m_systemHeaderPaths(tc.m_systemHeaderPaths) -{ } - QString CustomToolChain::type() const { return QLatin1String("custom"); diff --git a/src/plugins/projectexplorer/customtoolchain.h b/src/plugins/projectexplorer/customtoolchain.h index eaac3687696..4993f1e0543 100644 --- a/src/plugins/projectexplorer/customtoolchain.h +++ b/src/plugins/projectexplorer/customtoolchain.h @@ -124,8 +124,7 @@ public: static QString parserName(OutputParser parser); protected: - explicit CustomToolChain(const QByteArray &id, Detection d); - CustomToolChain(const CustomToolChain &); + CustomToolChain(const CustomToolChain &) = default; private: explicit CustomToolChain(Detection d);