From 61c1639b54782959e075c03f49591d2fcd2f9599 Mon Sep 17 00:00:00 2001 From: vng Date: Tue, 4 Oct 2011 12:11:18 +0300 Subject: [PATCH] Fix dummy error in coasts generation. --- generator/coastlines_generator.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/generator/coastlines_generator.cpp b/generator/coastlines_generator.cpp index 5485723e2a..6857c2d218 100644 --- a/generator/coastlines_generator.cpp +++ b/generator/coastlines_generator.cpp @@ -74,7 +74,10 @@ namespace { ContainerT & m_list; public: - DoAccumulate(ContainerT & lst) : m_list(lst) {} + DoAccumulate(ContainerT & lst) : m_list(lst) + { + m_list.push_back(typename ContainerT::value_type()); + } bool operator() (m2::PointD const & p) { m_list.back().push_back(p);