Skip to content

Commit d9d322b

Browse files
committed
fixup
1 parent 272ff3b commit d9d322b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/cpp/src/dynamic_vamana_index.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Status DynamicVamanaIndex::check_storage_kind(StorageKind storage_kind) noexcept
130130
auto status = runtime_error_wrapper([&] {
131131
supported = storage::is_supported_storage_kind(storage_kind);
132132
});
133-
if (status != Status_Ok) {
133+
if (!status.ok()) {
134134
return status;
135135
}
136136
return supported ? Status_Ok

0 commit comments

Comments
 (0)