Update json_wrap.hpp

This commit is contained in:
arcoRocks 2017-11-28 08:06:46 +01:00 committed by GitHub
parent af76d1bb42
commit ed9c0747fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,8 +142,8 @@ namespace chaiscript
// not a dynamic object
}
if (t_bv.is_null()) return json::JSON(); // a null value
if (t_bv.is_null()) return json::JSON(); // a null value
throw std::runtime_error("Unknown object type to convert to JSON");
}