summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qscopedpointer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qscopedpointer_p.h')
-rw-r--r--src/corelib/tools/qscopedpointer_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qscopedpointer_p.h b/src/corelib/tools/qscopedpointer_p.h
index c1c44e7695..233c2201dc 100644
--- a/src/corelib/tools/qscopedpointer_p.h
+++ b/src/corelib/tools/qscopedpointer_p.h
@@ -64,7 +64,7 @@ template <typename T, typename Cleanup = QScopedPointerDeleter<T> >
class QCustomScopedPointer : public QScopedPointer<T, Cleanup>
{
public:
- explicit inline QCustomScopedPointer(T *p = 0)
+ explicit inline QCustomScopedPointer(T *p = nullptr)
: QScopedPointer<T, Cleanup>(p)
{
}
@@ -107,7 +107,7 @@ template <typename T>
class QScopedSharedPointer : public QCustomScopedPointer<T, QScopedPointerSharedDeleter<T> >
{
public:
- explicit inline QScopedSharedPointer(T *p = 0)
+ explicit inline QScopedSharedPointer(T *p = nullptr)
: QCustomScopedPointer<T, QScopedPointerSharedDeleter<T> >(p)
{
}