diff --git a/offloading-cacher/cache.hpp b/offloading-cacher/cache.hpp index 6a717ff..78d16b0 100644 --- a/offloading-cacher/cache.hpp +++ b/offloading-cacher/cache.hpp @@ -237,6 +237,8 @@ namespace dsacache { std::unique_ptr GetFromCache(uint8_t* src, const size_t size, const int dst_node); public: + Cache(const Cache& other) = delete; + // initializes the cache with the two policy functions // only after this is it safe to use in a threaded environment void Init(CachePolicy* cache_policy_function, CopyPolicy* copy_policy_function);