diff dynamin/core/windows_environment.d @ 106:acdbb30fee7e

Port to D2. Most of the effort was dealing with immutable and const.
author Jordan Miner <jminer7@gmail.com>
date Mon, 17 Dec 2012 23:41:50 -0600
parents 73060bc3f004
children
line wrap: on
line diff
--- a/dynamin/core/windows_environment.d	Sat Nov 24 10:21:50 2012 -0600
+++ b/dynamin/core/windows_environment.d	Mon Dec 17 23:41:50 2012 -0600
@@ -36,7 +36,7 @@
 	long backend_runningTime() {
 		// NOTE: might be a faster way to do this...ProcessorTime is slow
 		// Use ProcessorTime to fix when timeGetTime() rolls over
-		const strayMs = 18_000_000; // 5 hours
+		enum strayMs = 18_000_000; // 5 hours
 		long pNow = processorTime;
 		long tNow = timeGetTime();
 		// pNow-startDiff would equal tNow except that: