aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/voidholder.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/voidholder.h')
-rw-r--r--sources/shiboken2/tests/libsample/voidholder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libsample/voidholder.h b/sources/shiboken2/tests/libsample/voidholder.h
index 23408fad..367e99dd 100644
--- a/sources/shiboken2/tests/libsample/voidholder.h
+++ b/sources/shiboken2/tests/libsample/voidholder.h
@@ -34,7 +34,7 @@
class VoidHolder
{
public:
- explicit VoidHolder(void* ptr = 0) : m_ptr(ptr) {}
+ explicit VoidHolder(void *ptr = nullptr) : m_ptr(ptr) {}
~VoidHolder() {}
inline void* voidPointer() { return m_ptr; }
inline static void* gimmeMeSomeVoidPointer()