Skip to content

Commit

Permalink
Removes ignored const from return type (protocolbuffers#2915)
Browse files Browse the repository at this point in the history
  • Loading branch information
techiejd authored and xfxyjwf committed Mar 29, 2017
1 parent 258406b commit 4a0dd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4a0dd03

Please sign in to comment.