Prechádzať zdrojové kódy

Removes ignored const from return type (#2915)

See https://github.com/google/protobuf/issues/2425
Juan David Dominguez 8 rokov pred
rodič
commit
4a0dd03e52
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/google/protobuf/map.h

+ 1 - 1
src/google/protobuf/map.h

@@ -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: