diff options
Diffstat (limited to 'graphics/path.hpp')
-rw-r--r-- | graphics/path.hpp | 1 |
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); } |