From 2b635d025d12e4853f5f4249156222d9e4fd3336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Wed, 17 Jan 2024 13:43:16 +0100 Subject: [PATCH] add defaulted-constructor for cache which got implicitly deleted by deleting the copy constructor --- offloading-cacher/cache.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/offloading-cacher/cache.hpp b/offloading-cacher/cache.hpp index b84e347..058a1e1 100644 --- a/offloading-cacher/cache.hpp +++ b/offloading-cacher/cache.hpp @@ -237,6 +237,7 @@ namespace dsacache { std::unique_ptr GetFromCache(uint8_t* src, const size_t size, const int dst_node); public: + Cache() = default; Cache(const Cache& other) = delete; // initializes the cache with the two policy functions