diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h index 61a23897b45f..a03dbf951765 100644 --- a/src/google/protobuf/map.h +++ b/src/google/protobuf/map.h @@ -678,7 +678,7 @@ class Map { const Key& key() const { return k_; } Key& key() { return k_; } - value_type* const value() const { return v_; } + value_type* value() const { return v_; } value_type*& value() { return v_; } private: