GccToolChain: Use default copy constructor

This copies members that were previously forgotten.

Change-Id: I363e8c55cfb20266c744eb614b217e3905cd91a2
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-07-09 11:34:05 +02:00
parent a75b97e702
commit c69d3ded6b
2 changed files with 1 additions and 11 deletions

View File

@@ -252,16 +252,6 @@ GccToolChain::GccToolChain(const QByteArray &id, Detection d) :
ToolChain(id, d)
{ }
GccToolChain::GccToolChain(const GccToolChain &tc) :
ToolChain(tc),
m_predefinedMacros(tc.m_predefinedMacros),
m_compilerCommand(tc.compilerCommand()),
m_targetAbi(tc.m_targetAbi),
m_supportedAbis(tc.m_supportedAbis),
m_headerPaths(tc.m_headerPaths),
m_version(tc.m_version)
{ }
void GccToolChain::setCompilerCommand(const FileName &path)
{
if (path == m_compilerCommand)

View File

@@ -99,7 +99,7 @@ public:
protected:
typedef QList<QPair<QStringList, QByteArray> > GccCache;
GccToolChain(const GccToolChain &);
GccToolChain(const GccToolChain &) = default;
typedef QPair<QStringList, QByteArray> CacheItem;