mirror of
https://github.com/nlohmann/json.git
synced 2024-12-04 22:49:02 +08:00
oops
This commit is contained in:
parent
fb54e212b6
commit
8d4cf5ef8d
@ -9612,7 +9612,7 @@ basic_json_parser_63:
|
|||||||
// collect mandatory members
|
// collect mandatory members
|
||||||
const std::string op = get_value("op", "op", true);
|
const std::string op = get_value("op", "op", true);
|
||||||
const std::string path = get_value(op, "path", true);
|
const std::string path = get_value(op, "path", true);
|
||||||
json_pointer ptr(get_value(op, "path", true));
|
json_pointer ptr(path);
|
||||||
|
|
||||||
if (op == "add")
|
if (op == "add")
|
||||||
{
|
{
|
||||||
|
@ -8922,7 +8922,7 @@ class basic_json
|
|||||||
// collect mandatory members
|
// collect mandatory members
|
||||||
const std::string op = get_value("op", "op", true);
|
const std::string op = get_value("op", "op", true);
|
||||||
const std::string path = get_value(op, "path", true);
|
const std::string path = get_value(op, "path", true);
|
||||||
json_pointer ptr(get_value(op, "path", true));
|
json_pointer ptr(path);
|
||||||
|
|
||||||
if (op == "add")
|
if (op == "add")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user