From f382993d407ae57302e3999e89783779c97716a0 Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Mon, 15 Sep 2014 17:04:13 +0200 Subject: Comparison operator for QAbstractMeshFunctor subclasses Change-Id: I18f0c46631615787a5505f7591514bfd33ac6bd0 Reviewed-by: Sean Harmer --- src/render/io/gltfparser.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render/io/gltfparser.cpp') 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 -- cgit v1.2.3