diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-14 19:18:15 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-14 19:18:15 +0900 |
commit | 468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9 (patch) | |
tree | b8e7b7f9b9e3156416366df074b9dc2946941156 | |
parent | 5c624bfdcb0fae5ea08466507e557b5acfb463b8 (diff) | |
download | libquotient-468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9.tar.gz libquotient-468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9.zip |
One more fix for older compilers
-rw-r--r-- | events/event.h | 2 |
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)); |