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 fe4cf53..374a872 100644
--- a/src/identity.cpp
+++ b/src/identity.cpp
@@ -177,7 +177,7 @@ Ref IdentityData::store(const Storage & st) const
{
vector<Record::Item> items;
- for (const auto p : prev)
+ for (const auto & p : prev)
items.emplace_back("SPREV", p.ref());
if (name)
items.emplace_back("name", *name);