| Index: mojo/public/cpp/bindings/map.h
|
| diff --git a/mojo/public/cpp/bindings/map.h b/mojo/public/cpp/bindings/map.h
|
| index c0735bad6fb53909bd75610653f376b6022a2640..f1cdd41ae7cb923de9724051647dd67951980704 100644
|
| --- a/mojo/public/cpp/bindings/map.h
|
| +++ b/mojo/public/cpp/bindings/map.h
|
| @@ -24,11 +24,14 @@ namespace mojo {
|
| // - There can only be one entry per unique key.
|
| // - Values of move-only types will be moved into the Map when they are added
|
| // using the insert() method.
|
| -template <typename Key, typename Value>
|
| +template <typename K, typename V>
|
| class Map {
|
| MOVE_ONLY_TYPE_FOR_CPP_03(Map);
|
|
|
| public:
|
| + using Key = K;
|
| + using Value = V;
|
| +
|
| // Map keys cannot be move only classes.
|
| static_assert(!internal::IsMoveOnlyType<Key>::value,
|
| "Map keys cannot be move only types.");
|
|
|