From f7cb3edec2597928271f6354bf767ba891cadf74 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 3 Aug 2018 17:32:34 +0900 Subject: Fix qmc-example building --- examples/qmc-example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qmc-example.cpp') 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()); -- cgit v1.2.3