Skip to content

Commit 261d5a3

Browse files
Update checkclass.cpp
1 parent 24eadef commit 261d5a3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/checkclass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,6 +3127,8 @@ static std::vector<DuplMemberFuncInfo> getDuplInheritedMemberFunctionsRecursive(
31273127
continue;
31283128
if (classFuncIt.tokenDef->isExpandedMacro())
31293129
continue;
3130+
if (classFuncIt.templateDef)
3131+
continue;
31303132
for (const Function& parentClassFuncIt : parentClassIt.type->classScope->functionList) {
31313133
if (classFuncIt.name() == parentClassFuncIt.name() &&
31323134
(parentClassFuncIt.access != AccessControl::Private || !skipPrivate) &&

0 commit comments

Comments
 (0)