aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <liujisi@google.com>2014-09-03 18:02:28 -0700
committerJisi Liu <liujisi@google.com>2014-09-03 18:02:28 -0700
commit1392f42d1b8113fbc13fa396dd526e2ddb45baa9 (patch)
treeeb03d104809a601a29f974788fb46c4c398476de
parent6890263c89376e51998f2e1c9b0a1fa027eb9134 (diff)
parent27fcf9bff60afdfabf6631abc975963a558a7491 (diff)
downloadprotobuf-1392f42d1b8113fbc13fa396dd526e2ddb45baa9.tar.gz
protobuf-1392f42d1b8113fbc13fa396dd526e2ddb45baa9.tar.bz2
protobuf-1392f42d1b8113fbc13fa396dd526e2ddb45baa9.zip
Merge pull request #8 from huahang/patch-1
fix a compile warning
-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(