From a81a1b2750da7fd549f4b1f0e91edf0d7f46c57b Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 28 Sep 2015 09:44:19 -0400 Subject: [PATCH] warnings suck --- simpledisplay.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simpledisplay.d b/simpledisplay.d index bd39b94..1b376c0 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -1094,7 +1094,7 @@ class SimpleWindow : CapableOfHandlingNativeEvent { Timers can only be expected to fire when the event loop is running. */ -version(with_timer) +version(with_timer) { class Timer { // FIXME: I might add overloads for ones that take a count of // how many elapsed since last time (on Windows, it will divide @@ -1230,6 +1230,7 @@ class Timer { static Timer[int] mapping; } else static assert(0, "timer not supported"); } +} // basic functions to access the clipboard /+