remove a const qualifier in a method's return type

This commit is contained in:
huahang 2014-09-04 10:51:57 +08:00
parent 1392f42d1b
commit c871fb9384

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)