diff --git a/deps/ox/src/ox/std/vector.hpp b/deps/ox/src/ox/std/vector.hpp index fd8f6c2d..a9ba0a86 100644 --- a/deps/ox/src/ox/std/vector.hpp +++ b/deps/ox/src/ox/std/vector.hpp @@ -139,8 +139,7 @@ class Vector: detail::VectorAllocator { } } - constexpr typename std::iterator::difference_type - operator-(const iterator &other) const noexcept { + constexpr auto operator-(const iterator &other) const noexcept { if constexpr(reverse) { return m_offset + other.m_offset; } else {