From 59b25701acf4e3354d42530aa313469db5214549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Wed, 14 Feb 2018 13:10:15 +0100 Subject: [PATCH] Remove DMD 2.070.x compatibility code. --- source/vibe/internal/freelistref.d | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/vibe/internal/freelistref.d b/source/vibe/internal/freelistref.d index 5820da9..c6f07cc 100644 --- a/source/vibe/internal/freelistref.d +++ b/source/vibe/internal/freelistref.d @@ -196,10 +196,7 @@ in { // Initialize the object in its pre-ctor state () @trusted { - static if (__VERSION__ < 2071) - chunk[0 .. classSize] = typeid(T).init[]; - else - chunk[0 .. classSize] = typeid(T).initializer[]; // Avoid deprecation warning + chunk[0 .. classSize] = typeid(T).initializer[]; // Avoid deprecation warning } (); // Call the ctor if any