Skip to content

Commit 639fdc4

Browse files
fix GetMethodSignature for templates methods (#161)
1 parent 4b6ffb6 commit 639fdc4

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
@@ -1553,7 +1553,7 @@ std::string Cppyy::GetMethodSignature(TCppMethod_t method, bool show_formal_args
15531553
if (max_args != (TCppIndex_t)-1) nArgs = std::min(nArgs, (int)max_args);
15541554
for (int iarg = 0; iarg < nArgs; ++iarg) {
15551555
sig << Cppyy::GetMethodArgTypeAsString(method, iarg);
1556-
if (show_formal_args && Cppyy::IsTemplatedMethod(method)) {
1556+
if (show_formal_args) {
15571557
std::string argname = Cppyy::GetMethodArgName(method, iarg);
15581558
if (!argname.empty()) sig << " " << argname;
15591559
std::string defvalue = Cppyy::GetMethodArgDefault(method, iarg);

0 commit comments

Comments
 (0)