fix comment

Change-Id: Ifa59bdc4bfd80fe3100ba5f1ac8119ad990e3936
This commit is contained in:
Noel Grandin
2015-05-07 11:05:02 +02:00
parent 9b1b3c9fdd
commit 4eeaaf84d4

View File

@@ -184,7 +184,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
<< pCXXDestructorDecl->getSourceRange();
return true;
}
// check that the destructor for a OutputDevice subclass does nothing except call into the dispose() method
// check that the destructor for a OutputDevice subclass does nothing except call into the disposeOnce() method
bool ok = false;
if (pCompoundStatement && pCompoundStatement->size() == 1) {
const CXXMemberCallExpr *pCallExpr = dyn_cast<CXXMemberCallExpr>(*pCompoundStatement->body_begin());