forked from organicmaps/organicmaps
Fixed crash in ugc sending.
This commit is contained in:
parent
167b881d8a
commit
5f386442be
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue