From dd3ab518b416d5e45f0eaca9f9f9fda47f4f43fe Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Fri, 10 Nov 2017 14:24:27 +0300 Subject: =?UTF-8?q?Added=20user=E2=80=99s=20reviews=20filtering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ugc/api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ugc/api.cpp') 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()) -- cgit v1.2.3