Commit 7d5d944d authored by Philip Trettner's avatar Philip Trettner
Browse files

Merge branch 'develop' of...

Merge branch 'develop' of https://www.graphics.rwth-aachen.de:9000/ptrettner/typed-geometry into develop
parents 0e750ae0 4f2a24d7
...@@ -61,7 +61,7 @@ template <class RangeT, class KeyT> ...@@ -61,7 +61,7 @@ template <class RangeT, class KeyT>
auto min_e = it; auto min_e = it;
auto min_v = key(*it); auto min_v = key(*it);
it++; ++it;
while (it != e) while (it != e)
{ {
auto v = key(*it); auto v = key(*it);
...@@ -70,7 +70,7 @@ template <class RangeT, class KeyT> ...@@ -70,7 +70,7 @@ template <class RangeT, class KeyT>
min_v = v; min_v = v;
min_e = it; min_e = it;
} }
it++; ++it;
} }
return *min_e; return *min_e;
...@@ -86,7 +86,7 @@ template <class RangeT, class KeyT> ...@@ -86,7 +86,7 @@ template <class RangeT, class KeyT>
auto max_e = it; auto max_e = it;
auto max_v = key(*it); auto max_v = key(*it);
it++; ++it;
while (it != e) while (it != e)
{ {
auto v = key(*it); auto v = key(*it);
...@@ -95,7 +95,7 @@ template <class RangeT, class KeyT> ...@@ -95,7 +95,7 @@ template <class RangeT, class KeyT>
max_v = v; max_v = v;
max_e = it; max_e = it;
} }
it++; ++it;
} }
return *max_e; return *max_e;
......
Supports Markdown
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