Fix program crash caused by incorrect use of noexcept modifier (#25194) (#25214)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/24839/head
cai.zhang 2023-06-30 15:08:22 +08:00 committed by GitHub
parent f7ecbff986
commit 7f3f18e71f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 {