diff --git a/deps/ox/src/ox/std/vector.hpp b/deps/ox/src/ox/std/vector.hpp index c35aee74..e51c1dc0 100644 --- a/deps/ox/src/ox/std/vector.hpp +++ b/deps/ox/src/ox/std/vector.hpp @@ -357,13 +357,13 @@ class Vector: detail::VectorAllocator { [[nodiscard]] constexpr bool contains(const T&) const noexcept(useNoexcept); - constexpr iterator<> insert( + constexpr iterator insert( std::size_t pos, std::size_t cnt, const T &val) noexcept(useNoexcept); - constexpr iterator<> insert(std::size_t pos, const T &val) noexcept(useNoexcept); + constexpr iterator insert(std::size_t pos, const T &val) noexcept(useNoexcept); template - constexpr iterator<> emplace(std::size_t pos, Args&&... args) noexcept(useNoexcept); + constexpr iterator emplace(std::size_t pos, Args&&... args) noexcept(useNoexcept); template constexpr T &emplace_back(Args&&... args) noexcept(useNoexcept); @@ -377,14 +377,14 @@ class Vector: detail::VectorAllocator { * @param pos iterator at the point to remove * @return Error if index is out of bounds */ - constexpr Result> erase(const iterator<> &pos) noexcept(useNoexcept); + constexpr Result> erase(const iterator<> &pos) noexcept(useNoexcept); /** * Removes an item from the Vector. * @param pos position of item to remove * @return Error if index is out of bounds */ - constexpr Result> erase(std::size_t pos) noexcept(useNoexcept); + constexpr Result> erase(std::size_t pos) noexcept(useNoexcept); /** * Moves the last item in the Vector to position pos and decrements the @@ -595,7 +595,7 @@ constexpr bool Vector::contains(const T &v) const } template -constexpr typename Vector::template iterator<> +constexpr typename Vector::template iterator Vector::insert( std::size_t pos, std::size_t cnt, const T &val) noexcept(useNoexcept) { if (m_size + cnt > m_cap) { @@ -624,7 +624,7 @@ Vector::insert( } template -constexpr typename Vector::template iterator<> +constexpr typename Vector::template iterator Vector::insert(std::size_t pos, const T &val) noexcept(useNoexcept) { if (m_size == m_cap) { reserveInsert(m_cap ? m_cap * 2 : initialCap, pos); @@ -649,7 +649,7 @@ Vector::insert(std::size_t pos, const T &val) noe template template -constexpr typename Vector::template iterator<> +constexpr typename Vector::template iterator Vector::emplace(std::size_t pos, Args&&... args) noexcept(useNoexcept) { if (m_size == m_cap) { reserveInsert(m_cap ? m_cap * 2 : initialCap, pos);