summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-09-08 13:59:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-09-08 15:47:42 +0200
commit85279475eb9f59119ccfd81caad1afb801eb49bc (patch)
treed755bb4c5d3201896c33c9cd6515c3c8e4b2761a /compilerplugins
parentca510d64b4d27615fdabecb4dd146193cef48d8c (diff)
Clean up some #includes
...after 9e7e95a57b7c16941d9fdc59f806c1f9e4263379 "tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macro" (and somewhat pedantically use the canonical <iterator> for std::size, even though the existing <vector> defines it, too) Change-Id: Iacf0a0619b496bfe7c6abb0a812b6a1b3eed40c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139653 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/test/stringliteralvar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/stringliteralvar.cxx b/compilerplugins/clang/test/stringliteralvar.cxx
index a73f1c51dbd9..3c0eaaccae04 100644
--- a/compilerplugins/clang/test/stringliteralvar.cxx
+++ b/compilerplugins/clang/test/stringliteralvar.cxx
@@ -9,10 +9,10 @@
#include <sal/config.h>
+#include <iterator>
#include <vector>
#include <rtl/ustring.hxx>
-#include <sal/macros.h>
// expected-error-re@+1 {{change type of variable 'literal1' from constant character array ('const char{{ ?}}[4]') to OStringLiteral [loplugin:stringliteralvar]}}
char const literal1[] = "foo";