aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/overload.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/overload.h')
-rw-r--r--sources/shiboken2/tests/libsample/overload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/libsample/overload.h b/sources/shiboken2/tests/libsample/overload.h
index 6d016561..aa2572d5 100644
--- a/sources/shiboken2/tests/libsample/overload.h
+++ b/sources/shiboken2/tests/libsample/overload.h
@@ -83,7 +83,7 @@ public:
FunctionEnum wrapperIntIntOverloads(const Polygon& arg0, int arg1, int arg2) { return Function1; }
// Similar to QImage constructor
- FunctionEnum strBufferOverloads(const Str& arg0, const char* arg1 = 0, bool arg2 = true) { return Function0; }
+ FunctionEnum strBufferOverloads(const Str &arg0, const char *arg1 = nullptr, bool arg2 = true) { return Function0; }
FunctionEnum strBufferOverloads(unsigned char* arg0, int arg1) { return Function1; }
FunctionEnum strBufferOverloads() { return Function2; }