diff --git a/src/core/model/ptr.h b/src/core/model/ptr.h index 0ac19f0a5..19229c774 100644 --- a/src/core/model/ptr.h +++ b/src/core/model/ptr.h @@ -776,9 +776,9 @@ Ptr::operator*() template Ptr::operator Tester*() const // NS_DEPRECATED_3_37 { - if (m_ptr == 0) + if (m_ptr == nullptr) { - return 0; + return nullptr; } static Tester test; return &test;