summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-79-span-stlcompat.patch
blob: 9b47ee70a5a9afeec090cde823ebce1a669332da (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                         
diff --git a/base/containers/span.h b/base/containers/span.h
index c03bdf836..ff00275e7 100644
--- a/base/containers/span.h
+++ b/base/containers/span.h
@@ -224,6 +224,7 @@ class span : public internal::ExtentStorage<Extent> {
   using difference_type = ptrdiff_t;
   using pointer = T*;
   using reference = T&;
+  using iterator_category = std::random_access_iterator_tag;
   using iterator = CheckedContiguousIterator<T>;
   using const_iterator = CheckedContiguousConstIterator<T>;
   using reverse_iterator = std::reverse_iterator<iterator>;