From a511d2d1ef5fa07dde601961fe9394b474aad5ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 24 Apr 2021 21:20:25 +0200 Subject: Behavior lens for shared refs from local state --- include/erebos/state.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/erebos/state.h') diff --git a/include/erebos/state.h b/include/erebos/state.h index b1567b0..7060f22 100644 --- a/include/erebos/state.h +++ b/include/erebos/state.h @@ -32,6 +32,8 @@ public: vector sharedRefs() const; LocalState sharedRefAdd(const Ref &) const; + template static T lens(const LocalState &); + private: vector lookupShared(UUID) const; LocalState updateShared(UUID, const vector &) const; -- cgit v1.2.3