Commit ecafcfd0 authored by Michaël Roynard's avatar Michaël Roynard

Fix unused member variable warning (clang 6)

parent c10bc0d2
......@@ -34,7 +34,7 @@ namespace mln
line2d_iterator(const point2d& pbegin, const point2d& pend) : m_pbegin(pbegin), m_pend(pend)
{
point2d dp = pend - pbegin;
point2d dp = m_pend - m_pbegin;
m_octhan = false;
if (std::abs(dp[1]) < std::abs(dp[0]))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment