Merge pull request #12 from huahang/patch-2

remove a const qualifier in a method's return type
This commit is contained in:
Jisi Liu 2014-09-03 22:30:50 -07:00
commit 9faecf7e93

View file

@ -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)