aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/objecttype.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/objecttype.h')
-rw-r--r--sources/shiboken2/tests/libsample/objecttype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/tests/libsample/objecttype.h b/sources/shiboken2/tests/libsample/objecttype.h
index ecd67b684..1f2a9c7e8 100644
--- a/sources/shiboken2/tests/libsample/objecttype.h
+++ b/sources/shiboken2/tests/libsample/objecttype.h
@@ -69,9 +69,9 @@ class LIBSAMPLE_API ObjectType
{
public:
// ### Fixme: Use uintptr_t in C++ 11
- typedef size_t Identifier;
+ using Identifier = size_t;
- explicit ObjectType(ObjectType* parent = 0);
+ explicit ObjectType(ObjectType *parent = nullptr);
virtual ~ObjectType();
// factory method