summaryrefslogtreecommitdiff
path: root/include/o3tl/array_view.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/o3tl/array_view.hxx')
-rw-r--r--include/o3tl/array_view.hxx2
1 files changed, 1 insertions, 1 deletions
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<typename T>
struct hash<o3tl::array_view<T>> {
- std::size_t operator()(o3tl::array_view<T> s)
+ std::size_t operator()(o3tl::array_view<T> s) const
{ return hash<T[]>()(s.data(), s.size()); }
};