Commit 4a0dd03e authored by Juan David Dominguez's avatar Juan David Dominguez Committed by Feng Xiao

Removes ignored const from return type (#2915)

See https://github.com/google/protobuf/issues/2425
parent 258406b8
...@@ -678,7 +678,7 @@ class Map { ...@@ -678,7 +678,7 @@ class Map {
const Key& key() const { return k_; } const Key& key() const { return k_; }
Key& key() { return k_; } Key& key() { return k_; }
value_type* const value() const { return v_; } value_type* value() const { return v_; }
value_type*& value() { return v_; } value_type*& value() { return v_; }
private: private:
......
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