Bad format

This commit is contained in:
chrchr 2022-05-04 20:06:17 +02:00
parent 29b78419c9
commit d82a13a398
1 changed files with 1 additions and 1 deletions

View File

@ -2545,7 +2545,7 @@ void CheckClass::checkVirtualFunctionCallInConstructor()
std::list<const Token *> callstack(1, callToken);
getFirstVirtualFunctionCallStack(virtualFunctionCallsMap, callToken, callstack);
if (callstack.empty())
continue;
continue;
if (!(callstack.back()->function()->hasVirtualSpecifier() || callstack.back()->function()->hasOverrideSpecifier()))
continue;
if (callstack.back()->function()->isPure())