aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/abstract.h')
-rw-r--r--sources/shiboken2/tests/libsample/abstract.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libsample/abstract.h b/sources/shiboken2/tests/libsample/abstract.h
index 9e7cf5a29..09906f1ee 100644
--- a/sources/shiboken2/tests/libsample/abstract.h
+++ b/sources/shiboken2/tests/libsample/abstract.h
@@ -74,7 +74,7 @@ public:
inline int id() { return m_id; }
// factory method
- inline static Abstract* createObject() { return 0; }
+ inline static Abstract* createObject() { return nullptr; }
// method that receives an Object Type
inline static int getObjectId(Abstract* obj) { return obj->id(); }