summaryrefslogtreecommitdiff
path: root/src/identity.cpp
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2020-02-05 22:13:09 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2020-02-05 22:13:09 +0100
commit69e4c826a34eb84c36bb07338a9a292a520f5970 (patch)
tree99d00a446b36fcdaf27dc9f1ddb5fc7e9edf5e3c /src/identity.cpp
parent495d2cb6b47b309070b31e0ef83fa5731a150a6d (diff)
Fix compilation with clang
Diffstat (limited to 'src/identity.cpp')
-rw-r--r--src/identity.cpp5
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 {