Removed a stray return statement, causing compilation error.

pull/2793/head
Manjunath Kudlur 8 years ago
parent 06f9f609e1
commit 21b58b51fe
  1. 1
      src/google/protobuf/repeated_field.h

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

Loading…
Cancel
Save