diff --git a/deps/ox/src/ox/std/vector.hpp b/deps/ox/src/ox/std/vector.hpp index 9ee34066..e539846c 100644 --- a/deps/ox/src/ox/std/vector.hpp +++ b/deps/ox/src/ox/std/vector.hpp @@ -29,7 +29,7 @@ struct VectorAllocator { AllocAlias m_data[Size] = {}; public: constexpr VectorAllocator() noexcept = default; - constexpr VectorAllocator(VectorAllocator&) noexcept = default; + constexpr VectorAllocator(const VectorAllocator&) noexcept = default; constexpr VectorAllocator(VectorAllocator&&) noexcept = default; protected: constexpr void allocate(T **items, std::size_t cap) noexcept { @@ -82,7 +82,7 @@ struct VectorAllocator { std::allocator m_allocator; public: constexpr VectorAllocator() noexcept = default; - constexpr VectorAllocator(VectorAllocator&) noexcept = default; + constexpr VectorAllocator(const VectorAllocator&) noexcept = default; constexpr VectorAllocator(VectorAllocator&&) noexcept = default; protected: constexpr void allocate(T **items, std::size_t cap) noexcept {