diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-09-04 11:44:49 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-09-05 10:53:32 +0200 |
commit | 4883046795fca3c26e19cbc7c0a884e922d128e7 (patch) | |
tree | fcb0f9b4b4f885a7bd50d9022658cf79eeb7c71d /src/libs/installer | |
parent | b73ef0fa7e24e48204a4560b03eb95721bcd2d4c (diff) |
Remove unused operators.
Change-Id: Icd4c43e27478c017280ffda64c9c51045fdc32da
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/installer')
-rw-r--r-- | src/libs/installer/binaryformat.cpp | 12 | ||||
-rw-r--r-- | src/libs/installer/binaryformat.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/libs/installer/binaryformat.cpp b/src/libs/installer/binaryformat.cpp index 72abfe713..91cfba676 100644 --- a/src/libs/installer/binaryformat.cpp +++ b/src/libs/installer/binaryformat.cpp @@ -342,18 +342,6 @@ void ResourceCollection::read(const QSharedPointer<QFile> &in, qint64 offset) in->seek(pos); } -bool ResourceCollection::operator<(const ResourceCollection& other) const -{ - if (m_name != other.name()) - return m_name < other.m_name; - return m_segment < other.m_segment; -} - -bool ResourceCollection::operator==(const ResourceCollection& other) const -{ - return m_name == other.m_name && m_segment == other.m_segment; -} - /*! Appends \a resource to this collection. The collection takes ownership of \a resource. */ diff --git a/src/libs/installer/binaryformat.h b/src/libs/installer/binaryformat.h index 162966b55..d2fc68987 100644 --- a/src/libs/installer/binaryformat.h +++ b/src/libs/installer/binaryformat.h @@ -124,8 +124,6 @@ public: void appendResource(const QSharedPointer<Resource> &resource); void appendResources(const QList<QSharedPointer<Resource> > &resources); - bool operator<(const ResourceCollection &other) const; - bool operator==(const ResourceCollection &other) const; private: QByteArray m_name; |