summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp
index f8e0d96..eb1212c 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -73,7 +73,7 @@ Ref DirectMessageData::store(const Storage & st) const
{
vector<Record::Item> items;
- for (const auto prev : prev)
+ for (const auto & prev : prev)
items.emplace_back("PREV", prev.ref());
if (from)
items.emplace_back("from", from->ref().value());