diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-07-13 22:20:07 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-07-13 22:20:07 +0300 |
commit | 084b3eb8aaae639e9a63e97245386fd78b8d8413 (patch) | |
tree | 9665cd5563bc650db0a18bf6be5c7d0187308ac9 | |
parent | 1615bb24248e1ea78995a0b678065ce75280cb44 (diff) |
Fix build breakage in programs
-rw-r--r-- | programs/key-value-store/include/key_value_store.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/key-value-store/include/key_value_store.hpp b/programs/key-value-store/include/key_value_store.hpp index 84e0c3a2..e4fe2e24 100644 --- a/programs/key-value-store/include/key_value_store.hpp +++ b/programs/key-value-store/include/key_value_store.hpp @@ -127,7 +127,7 @@ namespace key_value_store - uint128 key 16 bytes - value_history 104 bytes */ - using open_hash_index = basic_open_hash_index<atomic_linear_memory_policy<key_type, value_history, 0>, LLFIO_V2_NAMESPACE::algorithm::mapped_span>; + using open_hash_index = basic_open_hash_index<atomic_linear_memory_policy<key_type, value_history, 0>, LLFIO_V2_NAMESPACE::mapped>; static_assert(sizeof(open_hash_index::value_type) == 128, "open_hash_index::value_type is wrong size"); struct index @@ -545,9 +545,9 @@ namespace key_value_store basic_key_value_store *_parent; struct _item { - basic_key_value_store::keyvalue_info kvi; // the item's value when fetched + basic_key_value_store::keyvalue_info kvi; // the item's value when fetched llfio::optional<span<const char>> towrite; // the value to be written on commit - bool remove; // true if to remove + bool remove; // true if to remove _item(basic_key_value_store::keyvalue_info &&_kvi) : kvi(std::move(_kvi)) , remove(false) |