nullRef, since we had to add that kludge to 0.8.0

This commit is contained in:
Christopher Dunn
2015-02-10 20:45:42 -06:00
parent 052050df07
commit 07f0e9308d
2 changed files with 3 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ namespace Json {
static const unsigned char ALIGNAS(8) kNull[sizeof(Value)] = { 0 };
const unsigned char& kNullRef = kNull[0];
const Value& Value::null = reinterpret_cast<const Value&>(kNullRef);
const Value& Value::nullRef = null;
const Int Value::minInt = Int(~(UInt(-1) / 2));
const Int Value::maxInt = Int(UInt(-1) / 2);