Fixed #4656 (New check: Detect pure virtual function calls)
C++11: move constructor
This commit is contained in:
parent
0a17829021
commit
1935c544e0
|
@ -1880,6 +1880,7 @@ void CheckClass::checkPureVirtualFunctionCall()
|
|||
if (scope->function == 0 || !scope->function->hasBody ||
|
||||
!(scope->function->type==Function::eConstructor ||
|
||||
scope->function->type==Function::eCopyConstructor ||
|
||||
scope->function->type==Function::eMoveConstructor ||
|
||||
scope->function->type==Function::eDestructor))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue