diff options
author | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2019-01-09 23:04:20 +0000 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2019-01-09 23:04:20 +0000 |
commit | 9fa27ed0884b23d37f2f0b7ee2edd427664aa557 (patch) | |
tree | febf873c1ebf0aa58a9bc85d097f4c2f68a83005 /libphobos/src/std/datetime/stopwatch.d | |
parent | 9ed7e53d8e38694d76de50be2abaa42aa0ca92cd (diff) | |
download | gcc-9fa27ed0884b23d37f2f0b7ee2edd427664aa557.zip gcc-9fa27ed0884b23d37f2f0b7ee2edd427664aa557.tar.gz gcc-9fa27ed0884b23d37f2f0b7ee2edd427664aa557.tar.bz2 |
libphobos: Merge phobos upstream b022e552a
This removes updates the removal date of all deprecations in phobos.
Many of the marked functions have passed their end dates, and are now
absent in upstream.
Reviewed-on: https://github.com/dlang/phobos/pull/6828
From-SVN: r267788
Diffstat (limited to 'libphobos/src/std/datetime/stopwatch.d')
-rw-r--r-- | libphobos/src/std/datetime/stopwatch.d | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libphobos/src/std/datetime/stopwatch.d b/libphobos/src/std/datetime/stopwatch.d index 48e025b..5d2a980 100644 --- a/libphobos/src/std/datetime/stopwatch.d +++ b/libphobos/src/std/datetime/stopwatch.d @@ -403,10 +403,7 @@ Duration[fun.length] benchmark(fun...)(uint n) void f0() nothrow {} void f1() nothrow { auto b = to!string(a); } auto r = benchmark!(f0, f1)(1000); - version (GNU) - assert(r[0] >= Duration.zero); - else - assert(r[0] > Duration.zero); + assert(r[0] >= Duration.zero); assert(r[1] > Duration.zero); assert(r[1] > r[0]); assert(r[0] < seconds(1)); |