From ba16d650da02542450f055d443a820bf88f0cb18 Mon Sep 17 00:00:00 2001 From: Malte Foerster Date: Wed, 17 May 2023 16:48:18 +0000 Subject: [PATCH] make raft::cache::Cache protected to allow overrides --- cpp/include/raft/util/cache.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/raft/util/cache.cuh b/cpp/include/raft/util/cache.cuh index 64b180de2a..a9cfe64568 100644 --- a/cpp/include/raft/util/cache.cuh +++ b/cpp/include/raft/util/cache.cuh @@ -361,7 +361,7 @@ class Cache { */ int GetSize() const { return cached_keys.size(); } - private: + protected: int n_vec; //!< Number of elements in a cached vector float cache_size; //!< in MiB int n_cache_sets; //!< number of cache sets