Skip to content

Commit 54d4064

Browse files
match function signature generation with clang-repl (#158)
1 parent af817fe commit 54d4064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clingwrapper/src/clingwrapper.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ std::string Cppyy::GetMethodSignature(TCppMethod_t method, bool show_formal_args
15561556
std::string defvalue = Cppyy::GetMethodArgDefault(method, iarg);
15571557
if (!defvalue.empty()) sig << " = " << defvalue;
15581558
}
1559-
if (iarg != nArgs-1) sig << (show_formal_args ? ", " : ",");
1559+
if (iarg != nArgs-1) sig << ", ";
15601560
}
15611561
sig << ")";
15621562
return sig.str();

0 commit comments

Comments
 (0)