diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2014-09-15 17:04:13 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-09-30 00:23:23 +0200 |
commit | f382993d407ae57302e3999e89783779c97716a0 (patch) | |
tree | c625c07a00e8110890a378ec899d9ef44ca76a78 /src/render/io/gltfparser.cpp | |
parent | 7c05bc82dbf0e200c6a6534a70dea9f2ba42fcc5 (diff) |
Comparison operator for QAbstractMeshFunctor subclasses
Change-Id: I18f0c46631615787a5505f7591514bfd33ac6bd0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r-- | src/render/io/gltfparser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp index 012d8c438..dee13b261 100644 --- a/src/render/io/gltfparser.cpp +++ b/src/render/io/gltfparser.cpp @@ -212,6 +212,7 @@ private: public: explicit GLTFParserMeshFunctor(QMeshDataPtr meshData); QAbstractMeshDataPtr operator ()() Q_DECL_OVERRIDE; + bool operator ==(const QAbstractMeshFunctor &other) const Q_DECL_OVERRIDE; private: QMeshDataPtr m_meshData; @@ -1029,6 +1030,11 @@ QAbstractMeshDataPtr GLTFParserMesh::GLTFParserMeshFunctor::operator ()() return m_meshData; } +bool GLTFParserMesh::GLTFParserMeshFunctor::operator ==(const QAbstractMeshFunctor &) const +{ + return false; +} + } // of namespace Qt3D QT_END_NAMESPACE |