[generator] Fix build on linux, deduplicating names

This commit is contained in:
Ilya Zverev 2017-06-13 14:33:22 +03:00
parent 3380a8f5a9
commit ba1f308f8e

View file

@ -41,7 +41,7 @@ public:
m_end = way.Nodes().back();
}
Ways const & Ways() const { return m_ways; }
Ways const & GetWays() const { return m_ways; }
void Reverse()
{
@ -128,9 +128,9 @@ public:
std::vector<Ways> result;
for (LineString const & line : m_parts)
{
if (line.Ways().size() > 1)
if (line.GetWays().size() > 1)
{
result.push_back(line.Ways());
result.push_back(line.GetWays());
}
}
return result;