mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 16:40:48 +03:00
minor fixes that get GSOC regular expressions to compile
This commit is contained in:
parent
30c5cb3f47
commit
ca379e5993
2 changed files with 2 additions and 1 deletions
|
@ -4630,7 +4630,7 @@ if (isInputRange!R1 && isInputRange!R2 && !(isSomeString!R1 && isSomeString!R2))
|
|||
{
|
||||
for (;; r1.popFront(), r2.popFront())
|
||||
{
|
||||
if (r1.empty) return -r2.empty;
|
||||
if (r1.empty) return -cast(int)r2.empty;
|
||||
if (r2.empty) return r1.empty;
|
||||
auto a = r1.front, b = r2.front;
|
||||
if (binaryFun!pred(a, b)) return -1;
|
||||
|
|
|
@ -5483,6 +5483,7 @@ if (isRandomAccessRange!Range)
|
|||
this(Range input)
|
||||
{
|
||||
this._input = input;
|
||||
if(!__ctfe)
|
||||
debug
|
||||
{
|
||||
// Check the sortedness of the input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue