Index: compiled/StringMap.h |
=================================================================== |
--- a/compiled/StringMap.h |
+++ b/compiled/StringMap.h |
@@ -88,19 +88,22 @@ |
template<typename Key, typename Value> |
struct StringMapEntry : StringSetEntry<Key> |
{ |
typedef StringSetEntry<Key> super; |
typedef Value value_type; |
value_type second; |
+ StringMapEntry& operator=(const StringMapEntry&) = default; |
+ StringMapEntry& operator=(StringMapEntry&&) = default; |
+ |
StringMapEntry(typename super::key_type_cref key = Key(), |
value_type value = value_type()) |
- : super(key), second(value) |
+ : super(key), second(std::move(value)) |
{ |
} |
void erase() |
{ |
super::erase(); |
second = value_type(); |
} |