From da206d93238f26b6ceb070da7dae53b3f9418bb1 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 7 Mar 2017 17:21:55 +0000 Subject: [PATCH] Try to please clang-3.5 --- src/hash_map.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }