From 370b878857635f51bcb4414d5bdd3509e3091aa1 Mon Sep 17 00:00:00 2001 From: cxytz01 Date: Thu, 23 Dec 2021 14:38:14 +0800 Subject: [PATCH] [skip e2e] Grammar correction (#14050) Signed-off-by: cxytz01 --- internal/core/src/indexbuilder/IndexWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/src/indexbuilder/IndexWrapper.cpp b/internal/core/src/indexbuilder/IndexWrapper.cpp index cd194e2b91..2b08e15540 100644 --- a/internal/core/src/indexbuilder/IndexWrapper.cpp +++ b/internal/core/src/indexbuilder/IndexWrapper.cpp @@ -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(); bptr->data = std::shared_ptr((uint8_t*)binary.value().c_str(), deleter); bptr->size = binary.value().length();