Commit 0fab0606 authored by Tres Seaver's avatar Tres Seaver

Fix 'error: a class-key must be used when declaring a friend' compile error.

parent 0eb74768
...@@ -119,7 +119,7 @@ class MapIterator { ...@@ -119,7 +119,7 @@ class MapIterator {
private: private:
typename hash_map<Key, value_type*>::iterator it_; 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 // google::protobuf::Map is an associative container type used to store protobuf map
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment