diff options
-rw-r--r-- | sources/shiboken6/generator/shiboken/cppgenerator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/generator/shiboken/cppgenerator.cpp b/sources/shiboken6/generator/shiboken/cppgenerator.cpp index edf6bb4a4..d4aa6d242 100644 --- a/sources/shiboken6/generator/shiboken/cppgenerator.cpp +++ b/sources/shiboken6/generator/shiboken/cppgenerator.cpp @@ -3656,6 +3656,8 @@ void CppGenerator::writeMethodCall(TextStream &s, const AbstractMetaFunction *fu enumName = func->type().cppSignature(); const QString methodCall = enumName + QLatin1Char('(') + mc.toString() + QLatin1Char(')'); + mc.clear(); + mc << methodCall; s << enumName; writeReturnType = false; } |