Sfoglia il codice sorgente

Removed a stray return statement, causing compilation error.

Manjunath Kudlur 8 anni fa
parent
commit
21b58b51fe
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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