File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3801,15 +3801,15 @@ struct Filter(alias pred, Range)
3801
3801
void popFront () scope
3802
3802
{
3803
3803
assert (! _input.empty, " Attempting to popFront an empty Filter." );
3804
- assert (_freshEmpty, " Attempting to pop the front of a Filter without calling '.empty' method ahead." );
3804
+ version ( assert ) assert (_freshEmpty, " Attempting to pop the front of a Filter without calling '.empty' method ahead." );
3805
3805
version (assert ) _freshEmpty = false ;
3806
3806
_input.popFront;
3807
3807
}
3808
3808
3809
3809
auto ref front () @property
3810
3810
{
3811
3811
assert (! _input.empty, " Attempting to fetch the front of an empty Filter." );
3812
- assert (_freshEmpty, " Attempting to fetch the front of a Filter without calling '.empty' method ahead." );
3812
+ version ( assert ) assert (_freshEmpty, " Attempting to fetch the front of a Filter without calling '.empty' method ahead." );
3813
3813
return _input.front;
3814
3814
}
3815
3815
You can’t perform that action at this time.
0 commit comments