diff --git a/deps/ox/src/ox/std/hashmap.hpp b/deps/ox/src/ox/std/hashmap.hpp index 37658149..f1c05431 100644 --- a/deps/ox/src/ox/std/hashmap.hpp +++ b/deps/ox/src/ox/std/hashmap.hpp @@ -212,7 +212,7 @@ template constexpr void HashMap::expand() { Vector r; for (std::size_t i = 0; i < m_keys.size(); ++i) { - K k{m_keys[i]}; + auto const&k = m_keys[i]; access(r, k) = std::move(access(m_pairs, k)); } m_pairs = std::move(r);