Remove DMD 2.070.x compatibility code.
This commit is contained in:
parent
ff26c31a42
commit
59b25701ac
|
@ -196,10 +196,7 @@ in {
|
||||||
|
|
||||||
// Initialize the object in its pre-ctor state
|
// Initialize the object in its pre-ctor state
|
||||||
() @trusted {
|
() @trusted {
|
||||||
static if (__VERSION__ < 2071)
|
chunk[0 .. classSize] = typeid(T).initializer[]; // Avoid deprecation warning
|
||||||
chunk[0 .. classSize] = typeid(T).init[];
|
|
||||||
else
|
|
||||||
chunk[0 .. classSize] = typeid(T).initializer[]; // Avoid deprecation warning
|
|
||||||
} ();
|
} ();
|
||||||
|
|
||||||
// Call the ctor if any
|
// Call the ctor if any
|
||||||
|
|
Loading…
Reference in a new issue