diff options
Diffstat (limited to 'src/identity.cpp')
-rw-r--r-- | src/identity.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/identity.cpp b/src/identity.cpp index 57f25cc..00abf0b 100644 --- a/src/identity.cpp +++ b/src/identity.cpp @@ -11,6 +11,9 @@ using std::nullopt; using std::runtime_error; using std::set; +Identity::Identity(const Priv * p): p(p) {} +Identity::Identity(shared_ptr<const Priv> && p): p(std::move(p)) {} + optional<Identity> Identity::load(const Ref & ref) { return Identity::load(vector { ref }); @@ -75,6 +78,8 @@ Identity::Builder Identity::modify() const } +Identity::Builder::Builder(Priv * p): p(p) {} + Identity Identity::Builder::commit() const { auto idata = p->storage.store(IdentityData { |