mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-26 18:47:07 -05:00
Simplify fromQJsonValue loops
This commit is contained in:
@@ -132,7 +132,9 @@ public:
|
||||
int>::type = 0>
|
||||
Json(const V & v) : Json(array(v.begin(), v.end())) {}
|
||||
|
||||
static const Json fromQJsonValue(QJsonValue value);
|
||||
static Json fromQJsonValue(const QJsonValue &value);
|
||||
static void append(Json::array *array, const QJsonArray &qArray);
|
||||
static void append(Json::object *object, const QJsonObject &qObject);
|
||||
|
||||
// This prevents Json(some_pointer) from accidentally producing a bool. Use
|
||||
// Json(bool(some_pointer)) if that behavior is desired.
|
||||
|
||||
Reference in New Issue
Block a user