blob: 9b47ee70a5a9afeec090cde823ebce1a669332da (
plain) (
tree)
|
|
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>;
|