mirror of https://github.com/AxioDL/metaforce.git
rstl: Add element_type to reserved_vector iterator
Fixes macOS build
This commit is contained in:
parent
a9680126b9
commit
7b6720628c
|
@ -33,6 +33,7 @@ public:
|
||||||
const_iterator() : m_val(nullptr) {}
|
const_iterator() : m_val(nullptr) {}
|
||||||
explicit const_iterator(const T* val) : m_val(val) {}
|
explicit const_iterator(const T* val) : m_val(val) {}
|
||||||
using value_type = T;
|
using value_type = T;
|
||||||
|
using element_type = T;
|
||||||
using difference_type = std::ptrdiff_t;
|
using difference_type = std::ptrdiff_t;
|
||||||
using pointer = T*;
|
using pointer = T*;
|
||||||
using reference = T&;
|
using reference = T&;
|
||||||
|
|
Loading…
Reference in New Issue