summaryrefslogtreecommitdiff
path: root/src/identity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity.cpp')
-rw-r--r--src/identity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity.cpp b/src/identity.cpp
index f2912c5..ae20b3b 100644
--- a/src/identity.cpp
+++ b/src/identity.cpp
@@ -145,7 +145,7 @@ bool Identity::operator!=(const Identity & other) const
optional<Ref> Identity::ref() const
{
if (p->data.size() == 1)
- return p->data[0].ref();
+ return p->data[0].base().ref();
return nullopt;
}