forked from qt-creator/qt-creator
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:
@@ -252,16 +252,6 @@ GccToolChain::GccToolChain(const QByteArray &id, Detection d) :
|
|||||||
ToolChain(id, 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)
|
void GccToolChain::setCompilerCommand(const FileName &path)
|
||||||
{
|
{
|
||||||
if (path == m_compilerCommand)
|
if (path == m_compilerCommand)
|
||||||
|
@@ -99,7 +99,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
typedef QList<QPair<QStringList, QByteArray> > GccCache;
|
typedef QList<QPair<QStringList, QByteArray> > GccCache;
|
||||||
|
|
||||||
GccToolChain(const GccToolChain &);
|
GccToolChain(const GccToolChain &) = default;
|
||||||
|
|
||||||
typedef QPair<QStringList, QByteArray> CacheItem;
|
typedef QPair<QStringList, QByteArray> CacheItem;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user