aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/photon.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/photon.h')
-rw-r--r--sources/shiboken2/tests/libsample/photon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libsample/photon.h b/sources/shiboken2/tests/libsample/photon.h
index 2a32d511a..b9fc6532d 100644
--- a/sources/shiboken2/tests/libsample/photon.h
+++ b/sources/shiboken2/tests/libsample/photon.h
@@ -116,7 +116,7 @@ LIBSAMPLE_API int countValueDuplicators(const std::list<TemplateBase<DuplicatorT
class Pointer
{
public:
- Pointer() PHOTON_NOEXCEPT : px(0) {}
+ Pointer() PHOTON_NOEXCEPT : px(nullptr) {}
Pointer(int* p) : px(p) {}
void reset() PHOTON_NOEXCEPT { Pointer().swap(*this); }