diff --git a/cpp/arcticdb/entity/key.cpp b/cpp/arcticdb/entity/key.cpp index 26ffd8835b0..1b1b77092d3 100644 --- a/cpp/arcticdb/entity/key.cpp +++ b/cpp/arcticdb/entity/key.cpp @@ -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_; } diff --git a/cpp/arcticdb/stream/segment_aggregator.hpp b/cpp/arcticdb/stream/segment_aggregator.hpp index 95660a81a5d..f25b72c56fb 100644 --- a/cpp/arcticdb/stream/segment_aggregator.hpp +++ b/cpp/arcticdb/stream/segment_aggregator.hpp @@ -11,7 +11,6 @@ #include #include #include -#include #include namespace arcticdb::stream { diff --git a/cpp/arcticdb/toolbox/storage_mover.hpp b/cpp/arcticdb/toolbox/storage_mover.hpp index e1d27af93b0..02ca362625f 100644 --- a/cpp/arcticdb/toolbox/storage_mover.hpp +++ b/cpp/arcticdb/toolbox/storage_mover.hpp @@ -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{}, [](const auto& k){ return k.version_id();}); + auto to_erase = rng::unique(index_keys, std::equal_to{}, [](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();