policy_cache.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-03-12 19:07:41 -05:00
parent f00aea2755
commit 1e67da5778

View File

@ -35,8 +35,7 @@ using namespace boost::flyweights;
class PolicyCache
{
public:
typedef flyweight<std::string> fwstr;
typedef boost::concurrent_flat_map<uint64_t,fwstr> Map;
typedef boost::concurrent_flat_map<uint64_t,std::string> Map;
public:
PolicyCache(unsigned const max_size_ = 256)