diff options
author | huahang <huahang@users.noreply.github.com> | 2014-09-04 10:51:57 +0800 |
---|---|---|
committer | huahang <huahang@users.noreply.github.com> | 2014-09-04 10:51:57 +0800 |
commit | c871fb9384fef312ac76334ff97a83b980b57eba (patch) | |
tree | d3a0920ad51f9ce6b5f0980de9a1895609db72ed | |
parent | 1392f42d1b8113fbc13fa396dd526e2ddb45baa9 (diff) | |
download | protobuf-c871fb9384fef312ac76334ff97a83b980b57eba.tar.gz protobuf-c871fb9384fef312ac76334ff97a83b980b57eba.tar.bz2 protobuf-c871fb9384fef312ac76334ff97a83b980b57eba.zip |
remove a const qualifier in a method's return type
-rw-r--r-- | src/google/protobuf/generated_message_reflection.cc | 2 |
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) |