diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-11-10 14:24:27 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-11-10 14:33:24 +0300 |
commit | dd3ab518b416d5e45f0eaca9f9f9fda47f4f43fe (patch) | |
tree | ce4d2d0377b1fd88dc5d9fe1d6bb80145a2c4e53 /ugc/api.cpp | |
parent | 9d51002a904c288a7d911377ba2faee21c86d1f5 (diff) |
Added user’s reviews filtering
Diffstat (limited to 'ugc/api.cpp')
-rw-r--r-- | ugc/api.cpp | 4 |
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()) |