diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-09-06 15:11:38 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-09-25 12:33:08 +0300 |
commit | 320c691763deb4d0483cca1f82ee8f0f75b26623 (patch) | |
tree | 980ca50b9e9a08c792f0a4bb5f88c1c29ce46f8e /drape/graphics_context_factory.cpp | |
parent | c2e13ae8d6d39ef659dad657828bde165e31ea78 (diff) |
[drape][metal] Removed obsolete std usage, minor fixes.
Diffstat (limited to 'drape/graphics_context_factory.cpp')
-rw-r--r-- | drape/graphics_context_factory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drape/graphics_context_factory.cpp b/drape/graphics_context_factory.cpp index d3bc5728bc..18457d3188 100644 --- a/drape/graphics_context_factory.cpp +++ b/drape/graphics_context_factory.cpp @@ -24,7 +24,8 @@ GraphicsContext * ThreadSafeFactory::GetResourcesUploadContext() [this](){ return m_factory->IsDrawContextCreated(); }); } -GraphicsContext * ThreadSafeFactory::CreateContext(TCreateCtxFn const & createFn, TIsSeparateCreatedFn const checkFn) +GraphicsContext * ThreadSafeFactory::CreateContext(TCreateCtxFn const & createFn, + TIsSeparateCreatedFn const & checkFn) { threads::ConditionGuard g(m_condition); GraphicsContext * ctx = createFn(); |