From 468a73a804924ed6e63cd4aa58d9bcbc0ebc79d9 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 14 Dec 2017 19:18:15 +0900 Subject: One more fix for older compilers --- events/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(o) }; + auto&& e = makeEvent(o); if (!e) e.reset(new EventT(EventType::Unknown, o)); this->emplace_back(std::move(e)); -- cgit v1.2.3