aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2016-05-13 18:12:57 -0700
committerJisi Liu <jisi.liu@gmail.com>2016-05-13 18:12:57 -0700
commit5e7c4cb3f610ff11cb8f97d7cea59e380d4a0bbe (patch)
treed4e78c54a0289983bace81e8a4b0d8eb7c69b9ce
parentf2db1e0e39384a841853718bd241c607bcfde829 (diff)
downloadprotobuf-5e7c4cb3f610ff11cb8f97d7cea59e380d4a0bbe.tar.gz
protobuf-5e7c4cb3f610ff11cb8f97d7cea59e380d4a0bbe.tar.bz2
protobuf-5e7c4cb3f610ff11cb8f97d7cea59e380d4a0bbe.zip
Remove the comments about iterator validation
As it may be implementation dependent.
-rw-r--r--src/google/protobuf/map.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h
index bb0b14f9..6f1a71e4 100644
--- a/src/google/protobuf/map.h
+++ b/src/google/protobuf/map.h
@@ -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: