summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/store/tutorial/tutorial1.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/store/tutorial/tutorial1.hxx')
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/tutorial/tutorial1.hxx b/compilerplugins/clang/store/tutorial/tutorial1.hxx
index cb56a3bf16c7..144d0dc64f36 100644
--- a/compilerplugins/clang/store/tutorial/tutorial1.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial1.hxx
@@ -29,7 +29,7 @@ class Tutorial1
// The function that will be called to perform the actual action.
virtual void run();
// Function from Clang, it will be called for every return statement in the source.
- bool VisitReturnStmt( ReturnStmt* returnstmt );
+ bool VisitReturnStmt( const ReturnStmt* returnstmt );
};
} // namespace