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
diff options
context:
space:
mode:
Diffstat (limited to 'indexer')
-rw-r--r--indexer/road_shields_parser.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indexer/road_shields_parser.hpp b/indexer/road_shields_parser.hpp
index 1fd01aa001..d68691b2f9 100644
--- a/indexer/road_shields_parser.hpp
+++ b/indexer/road_shields_parser.hpp
@@ -42,13 +42,13 @@ struct RoadShield
inline bool operator<(RoadShield const & other) const
{
- if (m_type == other.m_type)
+ if (m_additionalText == other.m_additionalText)
{
- if (m_name == other.m_name)
- return m_additionalText < other.m_additionalText;
- return m_name < other.m_name;
+ if (m_type == other.m_type)
+ return m_name < other.m_name;
+ return m_type < other.m_type;
}
- return m_type < other.m_type;
+ return m_additionalText < other.m_additionalText;
}
};