Skip to content

Commit

Permalink
RXI-1136 review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oleks-rip committed Jun 18, 2024
1 parent a03d3a0 commit ae89cf2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/xbwd/federator/Federator.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,15 @@ struct TransactionCache
// transaction
};

namespace mi = boost::multi_index;
typedef mi::multi_index_container<
typedef boost::multi_index::multi_index_container<
TransactionCache,
mi::indexed_by<
mi::hashed_unique<
mi::member<TransactionCache, std::string, &TransactionCache::tx_>>,
mi::hashed_non_unique<
mi::member<TransactionCache, std::string, &TransactionCache::id_>>>>
boost::multi_index::indexed_by<
boost::multi_index::hashed_unique<
boost::multi_index::
member<TransactionCache, std::string, &TransactionCache::tx_>>,
boost::multi_index::hashed_non_unique<
boost::multi_index::
member<TransactionCache, std::string, &TransactionCache::id_>>>>
TransactionCacheContainer;

class Federator
Expand Down

0 comments on commit ae89cf2

Please sign in to comment.