Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 8 months ago
parent
commit
d16f736487
  1. 4
      src/policy_cache.hpp

4
src/policy_cache.hpp

@ -29,11 +29,13 @@
#include <cstdint> #include <cstdint>
#include <string> #include <string>
using namespace boost::flyweights;
class PolicyCache class PolicyCache
{ {
public: public:
typedef boost::flyweights::flyweight<std::string,boost::flyweights::no_tracking> fwstr;
typedef flyweight<std::string,no_tracking> fwstr;
typedef boost::concurrent_flat_map<uint64_t,std::string> Map; typedef boost::concurrent_flat_map<uint64_t,std::string> Map;
fwstr foo; fwstr foo;

Loading…
Cancel
Save