diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2017-10-12 20:08:55 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2017-10-12 20:16:48 +0300 |
commit | 5f386442be9c395f95d310791c2c002f59fecca9 (patch) | |
tree | 15c3afc914e864fd6055da80299acc1980be0c5f /ugc | |
parent | 167b881d8a9df553caa0ac88e2aa4bc3e738cac4 (diff) |
Fixed crash in ugc sending.
Diffstat (limited to 'ugc')
-rw-r--r-- | ugc/api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() |