From 3d26c5f14d2283ded3bd46764604bbdcc66067c9 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 17 May 2018 00:15:12 +0300 Subject: [PATCH] Add missing header [ci skip] --- include/MatrixClient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/MatrixClient.h b/include/MatrixClient.h index 9b0c113d..eae57281 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include @@ -253,7 +254,7 @@ MatrixClient::sendStateEvent(const EventBody &body, const QString &roomId, const setupAuth(request); auto proxy = std::shared_ptr(new StateEventProxy, - [](auto proxy) { proxy->deleteLater(); }); + [](StateEventProxy *p) { p->deleteLater(); }); auto serializedBody = nlohmann::json(body).dump(); auto reply = put(request, QByteArray(serializedBody.data(), serializedBody.size()));