Skip to content

Commit

Permalink
7
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Mar 13, 2024
1 parent cdb4d46 commit b744327
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion be/src/util/obj_lru_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ class ObjLRUCache : public LRUCachePolicy {

LRUCachePolicy* cache() const { return _cache; }
template <typename T>
void* data() const { return (void*)((ObjValue<T>*)_cache->value(_handle))->value; }
void* data() const {
return (void*)((ObjValue<T>*)_cache->value(_handle))->value;
}

private:
LRUCachePolicy* _cache = nullptr;
Expand Down

0 comments on commit b744327

Please sign in to comment.