fix vclwidget plugin warning message
Change-Id: Iac6450ed3a7742022d97b0121165f992b483eea0
This commit is contained in:
@@ -183,7 +183,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
|
||||
if (foundVclPtrField && pCompoundStatement && pCompoundStatement->size() == 0) {
|
||||
report(
|
||||
DiagnosticsEngine::Warning,
|
||||
"OutputDevice subclass with VclPtr field must call dispose() from its destructor.",
|
||||
"OutputDevice subclass with VclPtr field must call disposeOnce() from its destructor.",
|
||||
pCXXDestructorDecl->getLocStart())
|
||||
<< pCXXDestructorDecl->getSourceRange();
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user