Explorar o código

Removed a stray return statement, causing compilation error.

Manjunath Kudlur %!s(int64=8) %!d(string=hai) anos
pai
achega
21b58b51fe
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/google/protobuf/repeated_field.h

+ 0 - 1
src/google/protobuf/repeated_field.h

@@ -1487,7 +1487,6 @@ inline void RepeatedPtrFieldBase::Add(
   typename TypeHandler::Type* result =
       TypeHandler::New(arena_, std::move(value));
   rep_->elements[current_size_++] = result;
-  return result;
 }
 #endif