diff --git a/libsrc/core/ranges.hpp b/libsrc/core/ranges.hpp index 658ee3d0..e752eb4b 100644 --- a/libsrc/core/ranges.hpp +++ b/libsrc/core/ranges.hpp @@ -32,7 +32,7 @@ namespace ngcore FUNC f; public: FilterIterator(FUNC af, Iterator aiter, Iterator aend) - : f(af), iter(aiter), end(aend) + : iter(aiter), end(aend), f(af) { while(iter!=end && !f(*iter)) ++iter;