forked from organicmaps/organicmaps
Added const to GetFormatedCountryName method
This commit is contained in:
parent
d79f979c27
commit
db2e5a43a8
2 changed files with 2 additions and 2 deletions
|
@ -298,7 +298,7 @@ TIndex const & ActiveMapsLayout::GetCoreIndex(TGroup const & group, int position
|
|||
return GetItemInGroup(group, position).m_index;
|
||||
}
|
||||
|
||||
string const ActiveMapsLayout::GetFormatedCountryName(TIndex const & index)
|
||||
string const ActiveMapsLayout::GetFormatedCountryName(TIndex const & index) const
|
||||
{
|
||||
string group, country;
|
||||
GetStorage().GetGroupAndCountry(index, group, country);
|
||||
|
|
|
@ -78,7 +78,7 @@ public:
|
|||
|
||||
///@{ For CountryStatusDisplay only
|
||||
TIndex const & GetCoreIndex(TGroup const & group, int position) const;
|
||||
string const GetFormatedCountryName(TIndex const & index);
|
||||
string const GetFormatedCountryName(TIndex const & index) const;
|
||||
///@}
|
||||
|
||||
bool IsDownloadingActive() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue