summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/store/removeforwardstringdecl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/store/removeforwardstringdecl.cxx')
-rw-r--r--compilerplugins/clang/store/removeforwardstringdecl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/removeforwardstringdecl.cxx b/compilerplugins/clang/store/removeforwardstringdecl.cxx
index 8350c777abd1..ac85e1cd3288 100644
--- a/compilerplugins/clang/store/removeforwardstringdecl.cxx
+++ b/compilerplugins/clang/store/removeforwardstringdecl.cxx
@@ -29,7 +29,7 @@ void RemoveForwardStringDecl::run()
TraverseDecl( compiler.getASTContext().getTranslationUnitDecl());
}
-bool RemoveForwardStringDecl::VisitNamespaceDecl( NamespaceDecl* declaration )
+bool RemoveForwardStringDecl::VisitNamespaceDecl( const NamespaceDecl* declaration )
{
if( ignoreLocation( declaration ))
return true;