summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/buffer/tst_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/buffer/tst_buffer.cpp')
-rw-r--r--tests/auto/render/buffer/tst_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/render/buffer/tst_buffer.cpp b/tests/auto/render/buffer/tst_buffer.cpp
index f91d56587..7a3910f5d 100644
--- a/tests/auto/render/buffer/tst_buffer.cpp
+++ b/tests/auto/render/buffer/tst_buffer.cpp
@@ -48,7 +48,7 @@ public:
bool operator ==(const Qt3DRender::QBufferDataGenerator &other) const
{
const TestFunctor *otherFunctor = functor_cast<TestFunctor>(&other);
- if (otherFunctor != Q_NULLPTR)
+ if (otherFunctor != nullptr)
return otherFunctor->m_size == m_size;
return false;
}