diff --git a/ucm/store/empty/cc/empty_store.cc b/ucm/store/empty/cc/empty_store.cc index e3829d73a..8c223b2bc 100644 --- a/ucm/store/empty/cc/empty_store.cc +++ b/ucm/store/empty/cc/empty_store.cc @@ -26,13 +26,15 @@ namespace UC::EmptyStore { +std::vector OnLookup(size_t num) { return std::vector(num, false); } + class EmptyStore : public StoreV1 { public: Status Setup(const Detail::Dictionary& config) { return Status::OK(); } std::string Readme() const { return "EmptyStore"; } Expected> Lookup(const Detail::BlockId* blocks, size_t num) { - return std::vector(num, false); + return OnLookup(num); } Expected LookupOnPrefix(const Detail::BlockId* blocks, size_t num) { return -1; } void Prefetch(const Detail::BlockId* blocks, size_t num) {}