diff options
author | Tres Seaver <tseaver@palladion.com> | 2014-11-18 11:37:37 -0500 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2014-11-18 11:37:37 -0500 |
commit | 0fab06062f3be27a061e2062e113083ecefa5146 (patch) | |
tree | b37761519a103db18f0acc406affecfafb7076d1 /src/google | |
parent | 0eb74768d01f9a2d53b09e6bef3678d485e89aca (diff) |
Fix 'error: a class-key must be used when declaring a friend' compile error.
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h index f99c5a73..a9937b9b 100644 --- a/src/google/protobuf/map.h +++ b/src/google/protobuf/map.h @@ -119,7 +119,7 @@ class MapIterator { private: typename hash_map<Key, value_type*>::iterator it_; - friend Map<Key, T>; + friend class Map<Key, T>; }; // google::protobuf::Map is an associative container type used to store protobuf map |