diff options
Diffstat (limited to 'src/render/materialsystem/filterkey.cpp')
-rw-r--r-- | src/render/materialsystem/filterkey.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/render/materialsystem/filterkey.cpp b/src/render/materialsystem/filterkey.cpp index 7429735ef..7d0b74ead 100644 --- a/src/render/materialsystem/filterkey.cpp +++ b/src/render/materialsystem/filterkey.cpp @@ -6,11 +6,11 @@ QT_BEGIN_NAMESPACE -using namespace Qt3DCore; - namespace Qt3DRender { namespace Render { +using namespace Qt3DCore; + FilterKey::FilterKey() : BackendNode() { @@ -56,11 +56,7 @@ bool FilterKey::equals(const FilterKey &other) const // https://codereview.qt-project.org/#/c/204484/ // and adding the following early comparison of the types should give // an equivalent performance gain: -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) return (other.value().metaType() == value().metaType() && -#else - return (other.value().type() == value().type() && -#endif other.name() == name() && other.value() == value()); } |