diff options
| -rw-r--r-- | sources/shiboken6/ApiExtractor/predefined_templates.cpp | 4 | ||||
| -rw-r--r-- | sources/shiboken6/ApiExtractor/predefined_templates.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sources/shiboken6/ApiExtractor/predefined_templates.cpp b/sources/shiboken6/ApiExtractor/predefined_templates.cpp index 84c8fb5bc..7ff7c26e2 100644 --- a/sources/shiboken6/ApiExtractor/predefined_templates.cpp +++ b/sources/shiboken6/ApiExtractor/predefined_templates.cpp @@ -249,8 +249,8 @@ return %out;)"_s}, QByteArray containerTypeSystemSnippet(const char *name, const char *type, const char *include, const char *nativeToTarget, - const char *targetToNativeType = nullptr, - const char *targetToNative = nullptr) + const char *targetToNativeType, + const char *targetToNative) { QByteArray result = QByteArrayLiteral("<container-type name=\"") + name + QByteArrayLiteral("\" type=\"") + type + R"("> diff --git a/sources/shiboken6/ApiExtractor/predefined_templates.h b/sources/shiboken6/ApiExtractor/predefined_templates.h index 2519f65d9..0cc2c7f32 100644 --- a/sources/shiboken6/ApiExtractor/predefined_templates.h +++ b/sources/shiboken6/ApiExtractor/predefined_templates.h @@ -21,7 +21,7 @@ const PredefinedTemplates &predefinedTemplates(); QByteArray containerTypeSystemSnippet(const char *name, const char *type, const char *include, const char *nativeToTarget, - const char *targetToNativeType, - const char *targetToNative); + const char *targetToNativeType = nullptr, + const char *targetToNative = nullptr); #endif // PREDEFINED_TEMPLATES_H |
