We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272ff3b commit d9d322bCopy full SHA for d9d322b
bindings/cpp/src/dynamic_vamana_index.cpp
@@ -130,7 +130,7 @@ Status DynamicVamanaIndex::check_storage_kind(StorageKind storage_kind) noexcept
130
auto status = runtime_error_wrapper([&] {
131
supported = storage::is_supported_storage_kind(storage_kind);
132
});
133
- if (status != Status_Ok) {
+ if (!status.ok()) {
134
return status;
135
}
136
return supported ? Status_Ok
0 commit comments