diff options
author | Alexander Marchuk <alexm@maps.me> | 2016-06-08 18:11:20 +0300 |
---|---|---|
committer | Alexander Marchuk <alexm@maps.me> | 2016-06-16 16:05:32 +0300 |
commit | af1a3ed309809fa176f9da5c4cb1cd0064de3c9e (patch) | |
tree | 6a90c01b6966bf3ea391a7206730cd5887ac0cc0 /map/framework.hpp | |
parent | 9e4d720793eb44da84824cabea9f403155c41a87 (diff) |
[android][locator] fix: Review fixes.
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<dp::OGLContextFactory> contextFactory, DrapeCreationParams && params); ref_ptr<df::DrapeEngine> 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); |