diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-08-08 21:56:47 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-08-08 21:56:47 +0000 |
commit | 4042e53280c3ec021805ca236fe0bdcccea1083f (patch) | |
tree | 878a8243ca58fd751e70639d8999010205afa917 /storage/src | |
parent | e5a0b4377d45eaf4a1f999b64addb28e8388e847 (diff) |
Use vespalib::hash_map
Diffstat (limited to 'storage/src')
-rw-r--r-- | storage/src/vespa/storage/distributor/min_replica_provider.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/src/vespa/storage/distributor/min_replica_provider.h b/storage/src/vespa/storage/distributor/min_replica_provider.h index 456cf1c289d..75d3a150d21 100644 --- a/storage/src/vespa/storage/distributor/min_replica_provider.h +++ b/storage/src/vespa/storage/distributor/min_replica_provider.h @@ -1,12 +1,11 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once -#include <cstdint> -#include <unordered_map> +#include <vespa/vespalib/stllike/hash_map.h> namespace storage::distributor { -using MinReplicaMap = std::unordered_map<uint16_t, uint32_t>; +using MinReplicaMap = vespalib::hash_map<uint16_t, uint32_t>; class MinReplicaProvider { |