aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuahang <huahang@users.noreply.github.com>2014-09-03 15:08:45 +0800
committerhuahang <huahang@users.noreply.github.com>2014-09-03 15:08:45 +0800
commit27fcf9bff60afdfabf6631abc975963a558a7491 (patch)
treeeb03d104809a601a29f974788fb46c4c398476de
parent6890263c89376e51998f2e1c9b0a1fa027eb9134 (diff)
downloadprotobuf-27fcf9bff60afdfabf6631abc975963a558a7491.tar.gz
protobuf-27fcf9bff60afdfabf6631abc975963a558a7491.tar.bz2
protobuf-27fcf9bff60afdfabf6631abc975963a558a7491.zip
fix a compile warning
This change fixes the following compiler warning: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
-rw-r--r--src/google/protobuf/generated_message_reflection.h2
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(