Skip to content

Commit 821d088

Browse files
Vipul-Cariappaaaronj0
authored andcommitted
fix parsing template params
1 parent 1df4a33 commit 821d088

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
@@ -1497,7 +1497,7 @@ Cppyy::TCppMethod_t Cppyy::GetMethodTemplate(
14971497
if (name.find('<') != std::string::npos) {
14981498
pureName = name.substr(0, name.find('<'));
14991499
size_t start = name.find('<');
1500-
size_t end = name.find('>');
1500+
size_t end = name.rfind('>');
15011501
explicit_params = name.substr(start + 1, end - start - 1);
15021502
}
15031503

0 commit comments

Comments
 (0)