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:
Jarek Kobus
2021-02-15 12:40:14 +01:00
parent 23047f16f7
commit 9c896aa291
2 changed files with 0 additions and 11 deletions

View File

@@ -82,14 +82,6 @@ ParserTreeItem::~ParserTreeItem()
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
item.

View File

@@ -79,9 +79,6 @@ public:
void debugDump(int ident = 0) const;
protected:
ParserTreeItem &operator=(const ParserTreeItem &other);
private:
using CitSymbolInformations = QHash<SymbolInformation, ParserTreeItem::Ptr>::const_iterator;
//! Private class data pointer