Skip to content

Commit

Permalink
fix parsing template params
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipul-Cariappa committed Oct 7, 2024
1 parent 1df4a33 commit 2808fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clingwrapper/src/clingwrapper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ Cppyy::TCppMethod_t Cppyy::GetMethodTemplate(
if (name.find('<') != std::string::npos) {
pureName = name.substr(0, name.find('<'));
size_t start = name.find('<');
size_t end = name.find('>');
size_t end = name.rfind('>');
explicit_params = name.substr(start + 1, end - start - 1);
}

Expand Down

0 comments on commit 2808fe1

Please sign in to comment.