diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 17efb31a..417aeb99 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -70,11 +70,11 @@ public: } const - nonstd::optional - find(std::string const &key_) + char* + find(std::string const &key_) const { uint64_t hash; - nonstd::optional rv; + const char *rv; hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp); _cache.cvisit(hash,