Fixed #4656 (New check: Detect pure virtual function calls)

C++11: move constructor
This commit is contained in:
Frank Zingsheim 2013-04-08 20:48:45 +02:00
parent 0a17829021
commit 1935c544e0
1 changed files with 1 additions and 0 deletions

View File

@ -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;