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 'graphics/path.hpp')
-rw-r--r--graphics/path.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/path.hpp b/graphics/path.hpp
index ba8a239e56..14824f8d34 100644
--- a/graphics/path.hpp
+++ b/graphics/path.hpp
@@ -21,6 +21,7 @@ namespace graphics
void lineRel(m2::Point<T> const & pt)
{
+ ASSERT(!m_pts.empty(), ());
m2::Point<T> const & p = m_pts.back();
m_pts.push_back(p + pt);
}