Kaydet (Commit) 9db80b14 authored tarafından Noel Grandin's avatar Noel Grandin

fix vclwidget plugin warning message

Change-Id: Iac6450ed3a7742022d97b0121165f992b483eea0
üst 86051d87
...@@ -183,7 +183,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD ...@@ -183,7 +183,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
if (foundVclPtrField && pCompoundStatement && pCompoundStatement->size() == 0) { if (foundVclPtrField && pCompoundStatement && pCompoundStatement->size() == 0) {
report( report(
DiagnosticsEngine::Warning, 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->getLocStart())
<< pCXXDestructorDecl->getSourceRange(); << pCXXDestructorDecl->getSourceRange();
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment