aboutsummaryrefslogtreecommitdiff
path: root/examples/qmc-example.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-03 17:32:34 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-03 17:32:34 +0900
commitf7cb3edec2597928271f6354bf767ba891cadf74 (patch)
tree9e301d2de6e67f8abecf3f21f544ae3f61316d70 /examples/qmc-example.cpp
parent527a12eb5b6009f679b7e18eceda782f3f5747b7 (diff)
downloadlibquotient-f7cb3edec2597928271f6354bf767ba891cadf74.tar.gz
libquotient-f7cb3edec2597928271f6354bf767ba891cadf74.zip
Fix qmc-example building
Diffstat (limited to 'examples/qmc-example.cpp')
-rw-r--r--examples/qmc-example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmc-example.cpp b/examples/qmc-example.cpp
index 8670b263..ce38e916 100644
--- a/examples/qmc-example.cpp
+++ b/examples/qmc-example.cpp
@@ -160,7 +160,7 @@ void QMCTest::sendMessage()
return;
}
auto it = std::find_if(pending.begin(), pending.end(),
- [&txnId] (const RoomEventPtr& e) {
+ [&txnId] (const auto& e) {
return e->transactionId() == txnId;
});
QMC_CHECK("Message sending", it != pending.end());