summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCacheController.h
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/core/SharedCacheController.h')
-rw-r--r--view/sharedcache/core/SharedCacheController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/sharedcache/core/SharedCacheController.h b/view/sharedcache/core/SharedCacheController.h
index caf61e41..3a6c76dc 100644
--- a/view/sharedcache/core/SharedCacheController.h
+++ b/view/sharedcache/core/SharedCacheController.h
@@ -35,11 +35,11 @@ namespace BinaryNinja::DSC {
bool m_processObjC;
bool m_processCFStrings;
- explicit SharedCacheController(SharedCache cache, Ref<Logger> logger);
+ explicit SharedCacheController(SharedCache&& cache, Ref<Logger> logger);
public:
// Initialize the DSCacheView, this should be called from the view initialize function only!
- static DSCRef<SharedCacheController> Initialize(BinaryView& view, SharedCache cache);
+ static DSCRef<SharedCacheController> Initialize(BinaryView& view, SharedCache&& cache);
// NOTE: This will not create one if it does not exist. To create one for the view call `Initialize`.
static DSCRef<SharedCacheController> FromView(BinaryView& view);