summaryrefslogtreecommitdiff
path: root/include/erebos/storage.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-04-24 21:20:25 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2021-04-24 21:20:25 +0200
commita511d2d1ef5fa07dde601961fe9394b474aad5ae (patch)
tree9dd7321cba6303583d044cae95ea622e96b55d45 /include/erebos/storage.h
parent9aaba1211c95dc7e08437a7cca73452181e296d6 (diff)
Behavior lens for shared refs from local state
Diffstat (limited to 'include/erebos/storage.h')
-rw-r--r--include/erebos/storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/erebos/storage.h b/include/erebos/storage.h
index 2d00cc3..9d28ec7 100644
--- a/include/erebos/storage.h
+++ b/include/erebos/storage.h
@@ -182,8 +182,8 @@ public:
Ref & operator=(const Ref &) = default;
Ref & operator=(Ref &&) = default;
- bool operator==(const Ref &) = delete;
- bool operator!=(const Ref &) = delete;
+ bool operator==(const Ref &) const;
+ bool operator!=(const Ref &) const;
static std::optional<Ref> create(const Storage &, const Digest &);
static Ref zcreate(const Storage &);