aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/generated_message_reflection.cc
diff options
context:
space:
mode:
authorGravatar huahang <huahang@users.noreply.github.com>2014-09-04 10:51:57 +0800
committerGravatar huahang <huahang@users.noreply.github.com>2014-09-04 10:51:57 +0800
commitc871fb9384fef312ac76334ff97a83b980b57eba (patch)
treed3a0920ad51f9ce6b5f0980de9a1895609db72ed /src/google/protobuf/generated_message_reflection.cc
parent1392f42d1b8113fbc13fa396dd526e2ddb45baa9 (diff)
remove a const qualifier in a method's return type
Diffstat (limited to 'src/google/protobuf/generated_message_reflection.cc')
-rw-r--r--src/google/protobuf/generated_message_reflection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/generated_message_reflection.cc b/src/google/protobuf/generated_message_reflection.cc
index 853aadbf..7cfaa98c 100644
--- a/src/google/protobuf/generated_message_reflection.cc
+++ b/src/google/protobuf/generated_message_reflection.cc
@@ -1496,7 +1496,7 @@ inline uint32* GeneratedMessageReflection::MutableHasBits(
return reinterpret_cast<uint32*>(ptr);
}
-inline const uint32 GeneratedMessageReflection::GetOneofCase(
+inline uint32 GeneratedMessageReflection::GetOneofCase(
const Message& message,
const OneofDescriptor* oneof_descriptor) const {
const void* ptr = reinterpret_cast<const uint8*>(&message)