mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Grammar correction (#14050)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>pull/14069/head
parent
396ccf7bd4
commit
370b878857
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue