Skip to content

Commit 14b05fa

Browse files
fix according to CppInterOp#514
1 parent a9ecd42 commit 14b05fa

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
@@ -1662,7 +1662,7 @@ Cppyy::TCppMethod_t Cppyy::GetGlobalOperator(
16621662
else
16631663
return nullptr;
16641664
}
1665-
Cppyy::TCppMethod_t cppmeth = Cpp::BestTemplateFunctionMatch(
1665+
Cppyy::TCppMethod_t cppmeth = Cpp::BestOverloadFunctionMatch(
16661666
unresolved_candidate_methods, {}, arg_types);
16671667
if (cppmeth)
16681668
return cppmeth;

0 commit comments

Comments
 (0)