Commit 903d5bab authored by Philip's avatar Philip

Explicitly mark IndexingIterator as a RandomAccessIterator

parent c449295b
......@@ -27,6 +27,7 @@
#include "layout.h"
#include "orphan.h"
#include <initializer_list>
#include <iterator>
namespace capnp {
namespace _ { // private
......@@ -48,7 +49,7 @@ private:
};
template <typename Container, typename Element>
class IndexingIterator {
class IndexingIterator : public std::iterator<std::random_access_iterator_tag, Element> {
public:
IndexingIterator() = default;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment