aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/functions.cpp')
-rw-r--r--sources/shiboken2/tests/libsample/functions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken2/tests/libsample/functions.cpp b/sources/shiboken2/tests/libsample/functions.cpp
index 5cc9a1c67..288fa96ee 100644
--- a/sources/shiboken2/tests/libsample/functions.cpp
+++ b/sources/shiboken2/tests/libsample/functions.cpp
@@ -118,19 +118,19 @@ overloadedFunc(double val)
char*
returnNullPrimitivePointer()
{
- return 0;
+ return nullptr;
}
ObjectType*
returnNullObjectTypePointer()
{
- return 0;
+ return nullptr;
}
Event*
returnNullValueTypePointer()
{
- return 0;
+ return nullptr;
}
unsigned int