We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24eadef commit 261d5a3Copy full SHA for 261d5a3
1 file changed
lib/checkclass.cpp
@@ -3127,6 +3127,8 @@ static std::vector<DuplMemberFuncInfo> getDuplInheritedMemberFunctionsRecursive(
3127
continue;
3128
if (classFuncIt.tokenDef->isExpandedMacro())
3129
3130
+ if (classFuncIt.templateDef)
3131
+ continue;
3132
for (const Function& parentClassFuncIt : parentClassIt.type->classScope->functionList) {
3133
if (classFuncIt.name() == parentClassFuncIt.name() &&
3134
(parentClassFuncIt.access != AccessControl::Private || !skipPrivate) &&
0 commit comments