Added const to GetFormatedCountryName method

This commit is contained in:
VladiMihaylenko 2015-03-16 17:51:14 +03:00 committed by Alex Zolotarev
parent d79f979c27
commit db2e5a43a8
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;