[skip e2e] Grammar correction (#14050)

Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
pull/14069/head
cxytz01 2021-12-23 14:38:14 +08:00 committed by GitHub
parent 396ccf7bd4
commit 370b878857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ IndexWrapper::Load(const char* serialized_sliced_blob_buffer, int32_t size) {
milvus::knowhere::BinarySet binarySet;
for (auto i = 0; i < blob_buffer.datas_size(); i++) {
const auto& binary = blob_buffer.datas(i);
auto deleter = [&](uint8_t*) {}; // avoid repeated deconstruction
auto deleter = [&](uint8_t*) {}; // avoid repeated destruction
auto bptr = std::make_shared<milvus::knowhere::Binary>();
bptr->data = std::shared_ptr<uint8_t[]>((uint8_t*)binary.value().c_str(), deleter);
bptr->size = binary.value().length();