backport JSON for G++4.6

This commit is contained in:
Jason Turner
2015-09-21 12:27:33 -06:00
parent e62a38b39f
commit 681f18ee62
3 changed files with 5 additions and 5 deletions

View File

@@ -107,13 +107,13 @@ class JSON
JSON() : Internal(), Type( Class::Null ){}
explicit JSON(Class type)
: JSON()
: Internal(), Type(Class::Null)
{
SetType( type );
}
JSON( initializer_list<JSON> list )
: JSON()
: Internal(), Type(Class::Null)
{
SetType( Class::Object );
for( auto i = list.begin(), e = list.end(); i != e; ++i, ++i )
@@ -418,7 +418,7 @@ class JSON
private:
Class Type = Class::Null;
Class Type;
};
JSON Array() {