aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/virtualmethods.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/virtualmethods.cpp')
-rw-r--r--sources/shiboken2/tests/libsample/virtualmethods.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libsample/virtualmethods.cpp b/sources/shiboken2/tests/libsample/virtualmethods.cpp
index 2d26bd7c..294feca6 100644
--- a/sources/shiboken2/tests/libsample/virtualmethods.cpp
+++ b/sources/shiboken2/tests/libsample/virtualmethods.cpp
@@ -40,7 +40,7 @@ bool
VirtualMethods::createStr(const char* text, Str*& ret)
{
if (!text) {
- ret = 0;
+ ret = nullptr;
return false;
}