std.algorithm.iteration: Fix a -dip1000 compilable issue

This commit is contained in:
carblue 2018-03-30 05:01:23 +02:00
parent 1db9cbedd8
commit 83c02f21ea
2 changed files with 5 additions and 5 deletions

View file

@ -59,8 +59,8 @@ aa[std.zlib]=-dip1000
aa[std.algorithm.comparison]=-dip1000 aa[std.algorithm.comparison]=-dip1000
aa[std.algorithm.internal]=-dip1000 aa[std.algorithm.internal]=-dip1000
aa[std.algorithm.iteration]=-dip25 # WIP_carblue aa[std.algorithm.iteration]=-dip25 # depends on std.container.slist (to be updated https://github.com/dlang/phobos/pull/6295)
aa[std.algorithm.mutation]=-dip25 # depends on std.container.slist (https://github.com/dlang/phobos/pull/6295) aa[std.algorithm.mutation]=-dip25 # depends on std.container.slist (to be updated https://github.com/dlang/phobos/pull/6295)
aa[std.algorithm.package]=-dip1000 aa[std.algorithm.package]=-dip1000
aa[std.algorithm.searching]=-dip25 # depends on https://github.com/dlang/phobos/pull/6246 merged and std.algorithm.comparison fixed aa[std.algorithm.searching]=-dip25 # depends on https://github.com/dlang/phobos/pull/6246 merged and std.algorithm.comparison fixed
aa[std.algorithm.setops]=-dip1000 aa[std.algorithm.setops]=-dip1000
@ -95,8 +95,8 @@ aa[std.container.binaryheap]=-dip1000
aa[std.container.dlist]=-dip1000 aa[std.container.dlist]=-dip1000
aa[std.container.package]=-dip1000 aa[std.container.package]=-dip1000
aa[std.container.rbtree]=-dip25 # DROP aa[std.container.rbtree]=-dip25 # DROP
aa[std.container.slist]=-dip25 # -dip1000 -version=DIP1000 depends on https://github.com/dlang/phobos/pull/6295 merged aa[std.container.slist]=-dip25 # -dip1000 -version=DIP1000 depends on an update (no insertFront's code duplication in constructor) and merge of https://github.com/dlang/phobos/pull/6295
aa[std.container.util]=-dip25 # TODO aa[std.container.util]=-dip25 # depends on rbtree and slist = -dip1000
aa[std.datetime.date]=-dip1000 aa[std.datetime.date]=-dip1000
aa[std.datetime.interval]=-dip1000 aa[std.datetime.interval]=-dip1000

View file

@ -4236,7 +4236,7 @@ if (is(typeof(binaryFun!pred(r.front, s.front)) : bool)
@property empty() { return _impl.empty; } @property empty() { return _impl.empty; }
@property auto front() { return _impl.front; } @property auto front() { return _impl.front; }
void popFront() { _impl = _impl[1..$]; } void popFront() { _impl = _impl[1..$]; }
@property RefSep save() { return new RefSep(_impl); } @property RefSep save() scope { return new RefSep(_impl); }
@property auto length() { return _impl.length; } @property auto length() { return _impl.length; }
} }
auto sep = new RefSep("->"); auto sep = new RefSep("->");