Skip to content

Commit 587dba8

Browse files
fix FindBaseMethod to resolve base classes (#110)
1 parent e608c08 commit 587dba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dispatcher.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ std::vector<TCppMethod_t> FindBaseMethod(TCppScope_t tbase, const std::string mt
153153
result = GetMethodsFromName(tbase, mtCppName);
154154
if (result.empty()) {
155155
for (TCppIndex_t ibase = 0; ibase < GetNumBases(tbase); ++ibase) {
156-
TCppScope_t b = GetScope(GetBaseName(tbase, ibase));
156+
TCppScope_t b = Cppyy::GetBaseScope(tbase, ibase);
157157
result = FindBaseMethod(b, mtCppName);
158158
if (!result.empty())
159159
break;

0 commit comments

Comments
 (0)