From 82eeb3d43a1711e8bc5ded19d7fd6d45806b4787 Mon Sep 17 00:00:00 2001 From: Abscissa Date: Fri, 9 Mar 2012 15:59:12 -0500 Subject: [PATCH] Remove usage of 'dur'. --- rdmd.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdmd.d b/rdmd.d index 5002394a81..c0e18a0cfc 100644 --- a/rdmd.d +++ b/rdmd.d @@ -660,7 +660,7 @@ int eval(string todo) // Clean pathname enum lifetimeInHours = 24; - auto cutoff = Clock.currTime() - dur!"hours"(lifetimeInHours); + auto cutoff = Clock.currTime() - hours(lifetimeInHours); foreach (DirEntry d; dirEntries(pathname, SpanMode.shallow)) { if (d.timeLastModified < cutoff)