Skip to content

Commit

Permalink
Fix program crash caused by incorrect use of noexcept modifier (#25194)…
Browse files Browse the repository at this point in the history
… (#25214)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
  • Loading branch information
xiaocai2333 committed Jun 30, 2023
1 parent f7ecbff commit 7f3f18e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/core/src/storage/MemFileManagerImpl.cpp
Expand Up @@ -34,7 +34,7 @@ MemFileManagerImpl::AddFile(const std::string& filename /* unused */) noexcept {
}

bool
MemFileManagerImpl::AddFile(const BinarySet& binary_set) noexcept {
MemFileManagerImpl::AddFile(const BinarySet& binary_set) {
std::vector<const uint8_t*> data_slices;
std::vector<int64_t> slice_sizes;
std::vector<std::string> slice_names;
Expand Down
2 changes: 1 addition & 1 deletion internal/core/src/storage/MemFileManagerImpl.h
Expand Up @@ -58,7 +58,7 @@ class MemFileManagerImpl : public FileManagerImpl {
CacheRawDataToMemory(std::vector<std::string> remote_files);

bool
AddFile(const BinarySet& binary_set) noexcept;
AddFile(const BinarySet& binary_set);

std::map<std::string, int64_t>
GetRemotePathsToFileSize() const {
Expand Down

0 comments on commit 7f3f18e

Please sign in to comment.