Skip to content

Commit

Permalink
Fix function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
vasil-pashov committed Nov 22, 2024
1 parent 373df5f commit cdf0da9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/arcticdb/entity/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ KeyClass key_class_from_key_type(KeyType key_type) {
return get_key_data(key_type).key_class_;
}

const char* key_type_description(KeyType key_type) {
const char* get_key_description(KeyType key_type) {
return get_key_data(key_type).description_;
}

Expand Down
1 change: 0 additions & 1 deletion cpp/arcticdb/stream/segment_aggregator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <arcticdb/pipeline/frame_utils.hpp>
#include <arcticdb/util/format_date.hpp>
#include <arcticdb/util/memory_tracing.hpp>
#include <arcticdb/pipeline/filter_segment.hpp>
#include <arcticdb/stream/merge_utils.hpp>

namespace arcticdb::stream {
Expand Down
2 changes: 1 addition & 1 deletion cpp/arcticdb/toolbox/storage_mover.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ class ARCTICDB_VISIBILITY_HIDDEN StorageMover {
}
// Remove duplicate keys
rng::sort(index_keys, [&](const auto& k1, const auto& k2) {return k1.version_id() < k2.version_id();});
auto to_erase = rng::unique(index_keys, rng::equal_to<VersionId>{}, [](const auto& k){ return k.version_id();});
auto to_erase = rng::unique(index_keys, std::equal_to<VersionId>{}, [](const auto& k){ return k.version_id();});
index_keys.erase(to_erase.begin(), to_erase.end());
for(const auto& index_key: index_keys) {
VersionId v_id = index_key.version_id();
Expand Down

0 comments on commit cdf0da9

Please sign in to comment.