summaryrefslogtreecommitdiff
path: root/src/identity.h
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.h
parent495d2cb6b47b309070b31e0ef83fa5731a150a6d (diff)
Fix compilation with clang
Diffstat (limited to 'src/identity.h')
-rw-r--r--src/identity.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/identity.h b/src/identity.h
index 79b335e..92ac34f 100644
--- a/src/identity.h
+++ b/src/identity.h
@@ -23,9 +23,8 @@ public:
const optional<Stored<PublicKey>> keyMessage;
};
-class Identity::Priv
+struct Identity::Priv
{
-public:
vector<Stored<Signed<IdentityData>>> data;
shared_future<optional<string>> name;
optional<Identity> owner;
@@ -38,9 +37,8 @@ public:
function<bool(const IdentityData &)> sel);
};
-class Identity::Builder::Priv
+struct Identity::Builder::Priv
{
-public:
Storage storage;
vector<Stored<Signed<IdentityData>>> prev = {};
optional<string> name = nullopt;