Remove DMD 2.070.x compatibility code.

This commit is contained in:
Sönke Ludwig 2018-02-14 13:10:15 +01:00
parent ff26c31a42
commit 59b25701ac

View file

@ -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