mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 10:52:56 +08:00
[skip e2e] Grammar correction (#14050)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user