From 90b00eb3529783b0d3f9c7010c6f253868320037 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 12 Mar 2024 19:28:08 -0500 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,