diff dynamin/core/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/environment.d	Sat Nov 24 10:21:50 2012 -0600
+++ b/dynamin/core/environment.d	Mon Dec 17 23:41:50 2012 -0600
@@ -102,7 +102,7 @@
 	auto startTime = Environment.runningTime;
 	assert(startTime > 0);
 	auto time = startTime;
-	const SAMPLE = 50;
+	enum SAMPLE = 50;
 	// makes sure that RunningTime does not go backwards
 	for(int i = 0; i < SAMPLE;) {
 		auto time2 = Environment.runningTime;