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:
-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()