forked from qt-creator/qt-creator
CustomToolChain: use default copy constructor and remove unused constructor
This copies over the parser, c++11 flags, etc. that were missed in the existing implementation. Change-Id: Icbff37b943bb02bf71cdeb1cf01245d9f6e62688 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -82,19 +82,6 @@ CustomToolChain::CustomToolChain(Detection d) :
|
|||||||
m_outputParser(Gcc)
|
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
|
QString CustomToolChain::type() const
|
||||||
{
|
{
|
||||||
return QLatin1String("custom");
|
return QLatin1String("custom");
|
||||||
|
@@ -124,8 +124,7 @@ public:
|
|||||||
static QString parserName(OutputParser parser);
|
static QString parserName(OutputParser parser);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
explicit CustomToolChain(const QByteArray &id, Detection d);
|
CustomToolChain(const CustomToolChain &) = default;
|
||||||
CustomToolChain(const CustomToolChain &);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
explicit CustomToolChain(Detection d);
|
explicit CustomToolChain(Detection d);
|
||||||
|
Reference in New Issue
Block a user