mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Fix compile error when using std::sort with Visual Studio 16.5.0
This commit is contained in:
parent
d32e0b91c2
commit
d19527cf87
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ public:
|
|||
TIterator operator-(difference_type offset) const { return TIterator(m_ptr - offset); }
|
||||
difference_type operator-(const TIterator &other) const { return m_ptr - other.m_ptr; }
|
||||
|
||||
// Random access operators
|
||||
T& operator[](difference_type i) { return m_ptr[i]; }
|
||||
const T& operator[](difference_type i) const { return m_ptr[i]; }
|
||||
|
||||
T &operator*() { return *m_ptr; }
|
||||
const T &operator*() const { return *m_ptr; }
|
||||
T* operator->() { return m_ptr; }
|
||||
|
|
Loading…
Reference in a new issue