Skip to content

Commit

Permalink
Remove now-unneeded workaround for bug# 4866.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdavis committed Jun 2, 2014
1 parent 24c4e8f commit 8c1f68d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions std/datetime.d
Expand Up @@ -29150,13 +29150,6 @@ private:
}


// workaround for bug4886
@safe size_t lengthof(aliases...)() pure nothrow
{
return aliases.length;
}


/++
Benchmarks code for speed assessment and comparison.

Expand All @@ -29178,9 +29171,9 @@ private:
See_Also:
$(LREF measureTime)
+/
TickDuration[lengthof!(fun)()] benchmark(fun...)(uint n)
TickDuration[fun.length] benchmark(fun...)(uint n)
{
TickDuration[lengthof!(fun)()] result;
TickDuration[fun.length] result;
StopWatch sw;
sw.start();

Expand Down

0 comments on commit 8c1f68d

Please sign in to comment.