diff options
author | huahang <huahang@users.noreply.github.com> | 2014-09-03 15:08:45 +0800 |
---|---|---|
committer | huahang <huahang@users.noreply.github.com> | 2014-09-03 15:08:45 +0800 |
commit | 27fcf9bff60afdfabf6631abc975963a558a7491 (patch) | |
tree | eb03d104809a601a29f974788fb46c4c398476de /src/google | |
parent | 6890263c89376e51998f2e1c9b0a1fa027eb9134 (diff) |
fix a compile warning
This change fixes the following compiler warning:
warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/generated_message_reflection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/generated_message_reflection.h b/src/google/protobuf/generated_message_reflection.h index 0a31057a..fc583742 100644 --- a/src/google/protobuf/generated_message_reflection.h +++ b/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 uint32* MutableHasBits(Message* message) const; - inline const uint32 GetOneofCase( + inline uint32 GetOneofCase( const Message& message, const OneofDescriptor* oneof_descriptor) const; inline uint32* MutableOneofCase( |