fix initialization order warning

This commit is contained in:
Joachim Schoeberl 2021-05-30 18:57:14 +02:00
parent e272f0c704
commit 3258b27410

View File

@ -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;