Skip to content
Snippets Groups Projects
Commit a7f1a6a2 authored by Max Kahnt's avatar Max Kahnt
Browse files

Fix warnings: initialization order and unsigned comparison.

parent 7aeb10ff
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,8 @@ public:
*/
IndexedSliceIterator(const BaseIterator& it, size_type index, size_type itStride=1, size_type indexStride=1) :
it_(it),
index_(index),
itStride_(itStride),
index_(index),
indexStride_(indexStride)
{}
......@@ -70,7 +70,7 @@ public:
void increment()
{
index_ += indexStride_;
for(int i=0; i!=itStride_; ++i)
for(size_type i=0; i != itStride_; ++i)
++it_;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment