Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2017-10-12 20:08:55 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2017-10-12 20:16:48 +0300
commit5f386442be9c395f95d310791c2c002f59fecca9 (patch)
tree15c3afc914e864fd6055da80299acc1980be0c5f /ugc/api.cpp
parent167b881d8a9df553caa0ac88e2aa4bc3e738cac4 (diff)
Fixed crash in ugc sending.
Diffstat (limited to 'ugc/api.cpp')
-rw-r--r--ugc/api.cpp2
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()