Index: mojo/public/cpp/bindings/lib/map_internal.h |
diff --git a/mojo/public/cpp/bindings/lib/map_internal.h b/mojo/public/cpp/bindings/lib/map_internal.h |
index 4f79f7850b274015aa48078ce7b3edc63937e5a0..0207e99260898879496e3c5fbf4ca402776232d7 100644 |
--- a/mojo/public/cpp/bindings/lib/map_internal.h |
+++ b/mojo/public/cpp/bindings/lib/map_internal.h |
@@ -16,11 +16,11 @@ namespace mojo { |
namespace internal { |
template <typename Key, typename Value, bool kValueIsMoveOnlyType> |
-struct MapTraits {}; |
+struct MapCloneTraits {}; |
// Defines traits of a map for which Value is not a move-only type. |
template <typename Key, typename Value> |
-struct MapTraits<Key, Value, false> { |
+struct MapCloneTraits<Key, Value, false> { |
static inline void Clone(const std::map<Key, Value>& src, |
std::map<Key, Value>* dst) { |
dst->clear(); |
@@ -31,7 +31,7 @@ struct MapTraits<Key, Value, false> { |
// Defines traits of a map for which Value is a move-only type. |
template <typename Key, typename Value> |
-struct MapTraits<Key, Value, true> { |
+struct MapCloneTraits<Key, Value, true> { |
static inline void Clone(const std::map<Key, Value>& src, |
std::map<Key, Value>* dst) { |
dst->clear(); |