try to get it compiling on pre 2066

This commit is contained in:
Stephan Dilly 2015-03-28 11:06:47 +01:00
parent 6c6abcdfe7
commit fb25d3c2a9

View file

@ -13,6 +13,8 @@ import std.algorithm;
import std.system;
import std.utf;
static if(__VERSION__ < 2066)
private enum nogc;
/// Unicode UTF encodings.
enum UTFEncoding : ubyte
@ -37,7 +39,7 @@ unittest
assert(floats == floatsSwapBuffer, "Lost information when swapping byte order");
}
@system pure nothrow @nogc:
@nogc @system pure nothrow:
/** Swap byte order of items in an array in place.
*