summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-03-07 17:21:55 +0000
committerMaxime Coste <mawww@kakoune.org>2017-03-07 17:21:55 +0000
commitda206d93238f26b6ceb070da7dae53b3f9418bb1 (patch)
tree7f7c9527ca3b506c4da3c09042e64c922a5547c5 /src
parentdc7c5f6e67e492d4f34e3adfe76048f39d291e0c (diff)
Try to please clang-3.5
Diffstat (limited to 'src')
-rw-r--r--src/hash_map.hh2
1 files changed, 1 insertions, 1 deletions
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<KeyType>(key)}, {}});
+ m_items.push_back({Key(std::forward<KeyType>(key)), {}});
return m_items.back().value;
}