forked from qt-creator/qt-creator
ClassView: Remove unused ParserTreeItem::operator=
Task-number: QTCREATORBUG-25317 Change-Id: I43f1c87fb1340a4e70d3309aae0b40a0466c8f04 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -82,14 +82,6 @@ ParserTreeItem::~ParserTreeItem()
|
|||||||
delete d;
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
ParserTreeItem &ParserTreeItem::operator=(const ParserTreeItem &other)
|
|
||||||
{
|
|
||||||
d->symbolLocations = other.d->symbolLocations;
|
|
||||||
d->icon = other.d->icon;
|
|
||||||
d->symbolInformations.clear();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Copies a parser tree item from the location specified by \a from to this
|
Copies a parser tree item from the location specified by \a from to this
|
||||||
item.
|
item.
|
||||||
|
|||||||
@@ -79,9 +79,6 @@ public:
|
|||||||
|
|
||||||
void debugDump(int ident = 0) const;
|
void debugDump(int ident = 0) const;
|
||||||
|
|
||||||
protected:
|
|
||||||
ParserTreeItem &operator=(const ParserTreeItem &other);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
using CitSymbolInformations = QHash<SymbolInformation, ParserTreeItem::Ptr>::const_iterator;
|
using CitSymbolInformations = QHash<SymbolInformation, ParserTreeItem::Ptr>::const_iterator;
|
||||||
//! Private class data pointer
|
//! Private class data pointer
|
||||||
|
|||||||
Reference in New Issue
Block a user