Explorar o código

remove a const qualifier in a method's return type

huahang %!s(int64=11) %!d(string=hai) anos
pai
achega
c871fb9384
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/google/protobuf/generated_message_reflection.cc

+ 1 - 1
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)