diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-15 10:40:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-15 11:26:26 +0200 |
commit | 0ff6e236b7eba698b9766030e698410acd0235d0 (patch) | |
tree | 89770af3e3b8795c52dacad9d9f08ff4876087f2 /compilerplugins/clang | |
parent | 54c8a62d630b67847528f82402d802a4da48eac2 (diff) |
Can use pointer to const here
Change-Id: I1960e0a460ec4eae4f8d4da526aad8db863087af
Reviewed-on: https://gerrit.libreoffice.org/80813
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/classmemaccess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/classmemaccess.cxx b/compilerplugins/clang/classmemaccess.cxx index 56fe3fe39ab0..40132c36e1a5 100644 --- a/compilerplugins/clang/classmemaccess.cxx +++ b/compilerplugins/clang/classmemaccess.cxx @@ -30,7 +30,7 @@ public: { } - bool VisitCallExpr(CallExpr* expr) + bool VisitCallExpr(CallExpr const* expr) { if (ignoreLocation(expr)) { |