2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00

[#2380] reverted some changes

This commit is contained in:
Razvan Becheriu 2023-06-22 07:28:17 +03:00
parent f446945271
commit 96bf4b20da

View File

@ -13,7 +13,7 @@
#include <boost/shared_ptr.hpp>
#include <unordered_map>
#include <map>
#include <random>
namespace isc {
@ -129,13 +129,13 @@ private:
/// Keeps the current permutation state. The state associates the
/// swapped IP addresses or delegated prefixes with their positions in
/// the permutation.
std::unordered_map<isc::util::uint128_t, asiolink::IOAddress> state_;
std::map<isc::util::uint128_t, asiolink::IOAddress> state_;
/// Indicates if the addresses or delegated prefixes are exhausted.
bool done_;
/// Random generator.
std::mt19937_64 generator_;
std::mt19937 generator_;
};
/// @brief Pointer to the @c IPRangePermutation.