rstl: Add element_type to reserved_vector iterator

Fixes macOS build
This commit is contained in:
Luke Street 2022-05-12 12:21:01 -04:00
parent a9680126b9
commit 7b6720628c
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ public:
const_iterator() : m_val(nullptr) {}
explicit const_iterator(const T* val) : m_val(val) {}
using value_type = T;
using element_type = T;
using difference_type = std::ptrdiff_t;
using pointer = T*;
using reference = T&;