- let's hope this works better.

CI complained about the iterator but the messages were very unclear about the problem.
This commit is contained in:
Christoph Oelckers 2021-11-06 17:18:07 +01:00
parent 6a96d6c354
commit 9a1bcdbc84

View file

@ -66,11 +66,11 @@
template<typename T> class TIterator
{
public:
typedef typename T value_type;
typedef typename ptrdiff_t difference_type;
typedef typename T* pointer;
typedef typename T& reference;
typedef typename std::random_access_iterator_tag iterator_category;
using iterator_category = std::random_access_iterator_tag;
using value_type = T;
using difference_type = ptrdiff_t;
using pointer = value_type*;
using reference = value_type&;
TIterator(T* ptr = nullptr) { m_ptr = ptr; }