From ba1f308f8e211b860a9faaf08ffa693397667771 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Tue, 13 Jun 2017 14:33:22 +0300 Subject: [PATCH] [generator] Fix build on linux, deduplicating names --- generator/metalines_builder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generator/metalines_builder.cpp b/generator/metalines_builder.cpp index 68bd8fe233..41e7c3db43 100644 --- a/generator/metalines_builder.cpp +++ b/generator/metalines_builder.cpp @@ -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 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;