summaryrefslogtreecommitdiff
path: root/include/erebos/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos/state.h')
-rw-r--r--include/erebos/state.h2
1 files changed, 2 insertions, 0 deletions
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<Ref> sharedRefs() const;
LocalState sharedRefAdd(const Ref &) const;
+ template<typename T> static T lens(const LocalState &);
+
private:
vector<Ref> lookupShared(UUID) const;
LocalState updateShared(UUID, const vector<Ref> &) const;