Commit 83c7dfb6 authored by Namgoo Lee's avatar Namgoo Lee

Fix error in LineIterator example code in doc

parent aee865fe
...@@ -4819,7 +4819,7 @@ LineIterator it2 = it; ...@@ -4819,7 +4819,7 @@ LineIterator it2 = it;
vector<Vec3b> buf(it.count); vector<Vec3b> buf(it.count);
for(int i = 0; i < it.count; i++, ++it) for(int i = 0; i < it.count; i++, ++it)
buf[i] = *(const Vec3b)*it; buf[i] = *(const Vec3b*)*it;
// alternative way of iterating through the line // alternative way of iterating through the line
for(int i = 0; i < it2.count; i++, ++it2) for(int i = 0; i < it2.count; i++, ++it2)
......
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