Browse Source

Merge pull request #8 from huahang/patch-1

fix a compile warning
Jisi Liu 11 years ago
parent
commit
1392f42d1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/google/protobuf/generated_message_reflection.h

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

@@ -368,7 +368,7 @@ class LIBPROTOBUF_EXPORT GeneratedMessageReflection : public Reflection {
 
 
   inline const uint32* GetHasBits(const Message& message) const;
   inline const uint32* GetHasBits(const Message& message) const;
   inline uint32* MutableHasBits(Message* message) const;
   inline uint32* MutableHasBits(Message* message) const;
-  inline const uint32 GetOneofCase(
+  inline uint32 GetOneofCase(
       const Message& message,
       const Message& message,
       const OneofDescriptor* oneof_descriptor) const;
       const OneofDescriptor* oneof_descriptor) const;
   inline uint32* MutableOneofCase(
   inline uint32* MutableOneofCase(