From af1a3ed309809fa176f9da5c4cb1cd0064de3c9e Mon Sep 17 00:00:00 2001 From: Alexander Marchuk Date: Wed, 8 Jun 2016 18:11:20 +0300 Subject: [PATCH] [android][locator] fix: Review fixes. --- map/framework.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/framework.hpp b/map/framework.hpp index b528efb8a5..17a177a9e1 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -350,7 +350,7 @@ public: void CreateDrapeEngine(ref_ptr contextFactory, DrapeCreationParams && params); ref_ptr GetDrapeEngine(); - bool IsDrapeEngineCreated() const { return m_drapeEngine && m_drapeEngine.get(); } + bool IsDrapeEngineCreated() const { return m_drapeEngine != nullptr; } void DestroyDrapeEngine(); /// Called when graphics engine should be temporarily paused and then resumed. void SetRenderingEnabled(bool enable);