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:
Diffstat (limited to 'ugc/api.cpp')
-rw-r--r--ugc/api.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ugc/api.cpp b/ugc/api.cpp
index d6b42c4071..65f77af714 100644
--- a/ugc/api.cpp
+++ b/ugc/api.cpp
@@ -14,7 +14,7 @@ Api::Api(Index const & index) : m_storage(index), m_loader(index)
m_thread.Push([this] { m_storage.Load(); });
}
-void Api::GetUGC(FeatureID const & id, UGCCallback const & callback)
+void Api::GetUGC(FeatureID const & id, UGCCallbackUnsafe const & callback)
{
m_thread.Push([=] { GetUGCImpl(id, callback); });
}
@@ -44,7 +44,7 @@ void Api::SaveUGCOnDisk()
m_thread.Push([this] { SaveUGCOnDiskImpl(); });
}
-void Api::GetUGCImpl(FeatureID const & id, UGCCallback const & callback)
+void Api::GetUGCImpl(FeatureID const & id, UGCCallbackUnsafe const & callback)
{
CHECK(callback, ());
if (!id.IsValid())