std.algorithm: set accidentally exposed methods to private

This commit is contained in:
Sebastian Wilzbach 2016-05-12 18:08:29 +03:00
parent f276dbc06b
commit 0c100a7b5a
4 changed files with 50 additions and 23 deletions

View file

@ -2500,7 +2500,7 @@ pure @safe nothrow unittest
assert(f.payload.equal([10, 12, 11]));
}
void swapFront(R1, R2)(R1 r1, R2 r2)
private void swapFront(R1, R2)(R1 r1, R2 r2)
if (isInputRange!R1 && isInputRange!R2)
{
static if (is(typeof(swap(r1.front, r2.front))))