mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
CheckBy postblit should be scope
This commit is contained in:
parent
37796e783b
commit
42b8c65ccf
1 changed files with 2 additions and 2 deletions
|
@ -2027,7 +2027,7 @@ private struct ChunkByGroup(alias eq, Range, bool eqEquivalenceAssured)
|
|||
}
|
||||
|
||||
// Cannot be a copy constructor due to https://issues.dlang.org/show_bug.cgi?id=22239
|
||||
this(this) @trusted
|
||||
this(this) scope @trusted
|
||||
{
|
||||
import core.lifetime : emplace;
|
||||
// since mothership has to be in a union, we have to manually trigger
|
||||
|
@ -2129,7 +2129,7 @@ if (isForwardRange!Range)
|
|||
}
|
||||
|
||||
// Cannot be a copy constructor due to https://issues.dlang.org/show_bug.cgi?id=22239
|
||||
this(this) @trusted
|
||||
this(this) scope @trusted
|
||||
{
|
||||
import core.lifetime : emplace;
|
||||
// since _impl has to be in a union, we have to manually trigger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue