From 02a3abcceeb9be7f101b0bcaf55accc7fb6bfcf7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 Oct 2017 10:37:42 +0200 Subject: array_view std::hash override should be const Change-Id: I8ffdf86e98e261b337cfa81b1be0cb64539c9a9c Reviewed-on: https://gerrit.libreoffice.org/43871 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/o3tl/array_view.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/o3tl') diff --git a/include/o3tl/array_view.hxx b/include/o3tl/array_view.hxx index bb4818a4c8a0..2913010fab89 100644 --- a/include/o3tl/array_view.hxx +++ b/include/o3tl/array_view.hxx @@ -180,7 +180,7 @@ namespace std { template struct hash> { - std::size_t operator()(o3tl::array_view s) + std::size_t operator()(o3tl::array_view s) const { return hash()(s.data(), s.size()); } }; -- cgit