diff options
author | Chris Xiong <chirs241097@gmail.com> | 2021-10-14 19:01:18 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2021-10-14 19:01:18 -0400 |
commit | 846cdbdbf965fc50478bcc4c6436e3dc6a489f3f (patch) | |
tree | 4a39385c982291a110f513871aba340f0a7a061e /www-client/chromium/files/chromium-79-span-stlcompat.patch | |
download | ppo-846cdbdbf965fc50478bcc4c6436e3dc6a489f3f.tar.xz |
Initial commit.
Diffstat (limited to 'www-client/chromium/files/chromium-79-span-stlcompat.patch')
-rw-r--r-- | www-client/chromium/files/chromium-79-span-stlcompat.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-79-span-stlcompat.patch b/www-client/chromium/files/chromium-79-span-stlcompat.patch new file mode 100644 index 0000000..9b47ee7 --- /dev/null +++ b/www-client/chromium/files/chromium-79-span-stlcompat.patch @@ -0,0 +1,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>; |