From 69e4c826a34eb84c36bb07338a9a292a520f5970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 5 Feb 2020 22:13:09 +0100 Subject: Fix compilation with clang --- include/erebos/identity.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/erebos/identity.h') 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 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 p; - Identity(const Priv * p): p(p) {} - Identity(std::shared_ptr && p): p(std::move(p)) {} + Identity(const Priv * p); + Identity(std::shared_ptr && p); }; } -- cgit v1.2.3