summaryrefslogtreecommitdiff
path: root/include/erebos/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 /include/erebos/identity.h
parent495d2cb6b47b309070b31e0ef83fa5731a150a6d (diff)
Fix compilation with clang
Diffstat (limited to 'include/erebos/identity.h')
-rw-r--r--include/erebos/identity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/erebos/identity.h b/include/erebos/identity.h
index 4fdddab..9ed170a 100644
--- a/include/erebos/identity.h
+++ b/include/erebos/identity.h
@@ -29,7 +29,7 @@ public:
friend class Identity;
struct Priv;
const std::shared_ptr<Priv> p;
- Builder(Priv * p): p(p) {}
+ Builder(Priv * p);
};
static Builder create(const Storage &);
@@ -38,8 +38,8 @@ public:
private:
struct Priv;
const std::shared_ptr<const Priv> p;
- Identity(const Priv * p): p(p) {}
- Identity(std::shared_ptr<const Priv> && p): p(std::move(p)) {}
+ Identity(const Priv * p);
+ Identity(std::shared_ptr<const Priv> && p);
};
}