Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
Diffstat (limited to 'map')
-rw-r--r--map/framework.cpp4
-rw-r--r--map/framework.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/map/framework.cpp b/map/framework.cpp
index 11a31bbfe4..28ed208a70 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -2364,13 +2364,13 @@ void Framework::SetPlacePageListeners(PlacePageEvent::OnOpen const & onOpen,
place_page::Info const & Framework::GetCurrentPlacePageInfo() const
{
- CHECK(IsPlacePageOpened(), ());
+ CHECK(HasPlacePageInfo(), ());
return m_currentPlacePageInfo.get();
}
place_page::Info & Framework::GetCurrentPlacePageInfo()
{
- CHECK(IsPlacePageOpened(), ());
+ CHECK(HasPlacePageInfo(), ());
return m_currentPlacePageInfo.get();
}
diff --git a/map/framework.hpp b/map/framework.hpp
index f147e87d77..234194048b 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -408,7 +408,7 @@ public:
void SetPlacePageListeners(PlacePageEvent::OnOpen const & onOpen,
PlacePageEvent::OnClose const & onClose,
PlacePageEvent::OnUpdate const & onUpdate);
- bool IsPlacePageOpened() const { return m_currentPlacePageInfo.has_value(); }
+ bool HasPlacePageInfo() const { return m_currentPlacePageInfo.has_value(); }
place_page::Info const & GetCurrentPlacePageInfo() const;
place_page::Info & GetCurrentPlacePageInfo();