From b82c6e251b995353ce205bbd53f3db2b985c5345 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 Aug 2017 06:36:55 -0700 Subject: Fixed string constructor. --- src/unstable/json.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/unstable/json.cpp') diff --git a/src/unstable/json.cpp b/src/unstable/json.cpp index d13f6e2..b22ca0d 100644 --- a/src/unstable/json.cpp +++ b/src/unstable/json.cpp @@ -19,6 +19,12 @@ Bu::Json::Json( const Bu::String &sValue ) : { } +Bu::Json::Json( const char *sValue ) : + eType( String ), + uDat( sValue ) +{ +} + Bu::Json::Json( double dValue ) : eType( Number ), uDat( dValue ) -- cgit v1.2.3