diff --git a/src/hash_map.hh b/src/hash_map.hh index b3ed49a9..1336c94a 100644 --- a/src/hash_map.hh +++ b/src/hash_map.hh @@ -189,7 +189,7 @@ struct HashMap m_index.reserve(m_items.size()+1); m_index.add(hash, (int)m_items.size()); - m_items.push_back({Key{std::forward(key)}, {}}); + m_items.push_back({Key(std::forward(key)), {}}); return m_items.back().value; }