mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
- 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:
parent
6a96d6c354
commit
9a1bcdbc84
1 changed files with 5 additions and 5 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue