diff --git a/include/flatmemory/details/types/vector.hpp b/include/flatmemory/details/types/vector.hpp index 6e3d459..61fe153 100644 --- a/include/flatmemory/details/types/vector.hpp +++ b/include/flatmemory/details/types/vector.hpp @@ -353,7 +353,7 @@ class View> : public IView>> void mutate(size_t pos, ValueType value) requires(IsTriviallyCopyable) { - write_value>::ValueType>(m_buf + Layout>::vector_data_position + pos * sizeof(T), value); + write_value(m_buf + Layout>::vector_data_position + pos * sizeof(T), value); } /** @@ -571,7 +571,7 @@ class View> : public IView>> }; ConstIterator begin() const { return ConstIterator(m_buf + Layout>::vector_data_position); } - ConstIterator end() const { return View>::ConstIterator(m_buf + Layout>::vector_data_position + sizeof(OffsetType) * size()); } + ConstIterator end() const { return ConstIterator(m_buf + Layout>::vector_data_position + sizeof(OffsetType) * size()); } /** * Capacity