From 5f386442be9c395f95d310791c2c002f59fecca9 Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Thu, 12 Oct 2017 20:08:55 +0300 Subject: Fixed crash in ugc sending. --- ugc/api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ugc/api.cpp') diff --git a/ugc/api.cpp b/ugc/api.cpp index 1243fbe026..9162c974e6 100644 --- a/ugc/api.cpp +++ b/ugc/api.cpp @@ -26,7 +26,7 @@ void Api::SetUGCUpdate(FeatureID const & id, UGCUpdate const & ugc) void Api::GetUGCToSend(UGCJsonToSendCallback const & fn) { - m_thread.Push([&fn, this] { GetUGCToSendImpl(fn); }); + m_thread.Push([fn, this] { GetUGCToSendImpl(fn); }); } void Api::SendingCompleted() -- cgit v1.2.3