diff --git a/deps/ox/src/ox/std/vector.hpp b/deps/ox/src/ox/std/vector.hpp index 7811e1e7..7d649c91 100644 --- a/deps/ox/src/ox/std/vector.hpp +++ b/deps/ox/src/ox/std/vector.hpp @@ -269,7 +269,7 @@ class Vector: detail::VectorAllocator { } [[nodiscard]] - constexpr bool contains(MaybeView_t const&) const noexcept(useNoexcept); + constexpr bool contains(MaybeView_t const&) const noexcept; constexpr iterator insert( std::size_t pos, std::size_t cnt, T val) noexcept(useNoexcept); @@ -520,8 +520,8 @@ constexpr void Vector::resize(std::size_t size) n } template -constexpr bool Vector::contains(MaybeView_t const&v) const noexcept(useNoexcept) { - for (std::size_t i = 0; i < m_size; i++) { +constexpr bool Vector::contains(MaybeView_t const&v) const noexcept { + for (std::size_t i = 0; i < m_size; ++i) { if (m_items[i] == v) { return true; }