From 3258b27410184988eec91c21f8c6fa222ab5822d Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sun, 30 May 2021 18:57:14 +0200 Subject: [PATCH] fix initialization order warning --- libsrc/core/ranges.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;