Fix travis errors

remotes/origin/HEAD
Konstantinos Sideris 7 years ago
parent a605e4486f
commit b9c4a819ad
  1. 1
      CMakeLists.txt
  2. 2
      src/MatrixClient.cc

@ -121,7 +121,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
-Werror \
-pipe \
-pedantic \
-ferror-limit=3 \
-Wunreachable-code")
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")

@ -927,7 +927,7 @@ MatrixClient::readEvent(const QString &room_id, const QString &event_id)
auto reply = post(request, "{}");
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
connect(reply, &QNetworkReply::finished, this, [reply]() {
reply->deleteLater();
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();

Loading…
Cancel
Save