From 27fcf9bff60afdfabf6631abc975963a558a7491 Mon Sep 17 00:00:00 2001 From: huahang Date: Wed, 3 Sep 2014 15:08:45 +0800 Subject: fix a compile warning This change fixes the following compiler warning: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] --- src/google/protobuf/generated_message_reflection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3