aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-14 19:18:15 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-14 19:18:15 +0900
commit468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9 (patch)
treeb8e7b7f9b9e3156416366df074b9dc2946941156
parent5c624bfdcb0fae5ea08466507e557b5acfb463b8 (diff)
downloadlibquotient-468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9.tar.gz
libquotient-468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9.zip
One more fix for older compilers
-rw-r--r--events/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/events/event.h b/events/event.h
index 6a7f6ece..a5730f14 100644
--- a/events/event.h
+++ b/events/event.h
@@ -132,7 +132,7 @@ namespace QMatrixClient
for (auto objValue: objs)
{
const auto o = objValue.toObject();
- auto e { makeEvent<EventT>(o) };
+ auto&& e = makeEvent<EventT>(o);
if (!e)
e.reset(new EventT(EventType::Unknown, o));
this->emplace_back(std::move(e));