Commit 9126b711 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Cluster: remove lengthy inline comment

parent 578dd42f
......@@ -23,10 +23,6 @@ void Cluster::addPixel(const Pixel* pixel) {
// Take split clusters into account correctly, e.g.
// (1,10),(1,12) should have a row width = 3
//
// map.begin() returns iterator to first element
// map.rbegin() returns iterator to first element from the back
// map.end() would return a "past-the-end element" -> cannot be used here
m_columnWidth = static_cast<size_t>(1 + m_columnHits.begin()->first - m_columnHits.rbegin()->first);
m_rowWidth = static_cast<size_t>(1 + m_rowHits.rbegin()->first - m_rowHits.begin()->first);
}
......
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