Skip to content

Commit

Permalink
Merge pull request #1533 from pherl/mapcomment
Browse files Browse the repository at this point in the history
Remove the comments about iterator validation
  • Loading branch information
liujisi committed May 16, 2016
2 parents f2db1e0 + 5e7c4cb commit cf1fd7e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/google/protobuf/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,7 @@ class MapPair {
// assert(m0.begin()->first == m1.begin()->first); // Bug!
//
// Map's interface is similar to std::unordered_map, except that Map is not
// designed to play well with exceptions. Mutations to a Map do not invalidate
// a Map's iterators, pointers to elements, or references to elements. Except
// for erase(iterator), any non-const method can reorder iterators.
// designed to play well with exceptions.
template <typename Key, typename T>
class Map {
public:
Expand Down

0 comments on commit cf1fd7e

Please sign in to comment.