diff --git a/src/json-validator.cpp b/src/json-validator.cpp index 8efe709..f2f0778 100644 --- a/src/json-validator.cpp +++ b/src/json-validator.cpp @@ -715,13 +715,13 @@ public: { auto attr = sch.find("maxLength"); if (attr != sch.end()) { - maxLength_ = {true, attr.value().get()}; + maxLength_ = {true, attr.value().get()}; sch.erase(attr); } attr = sch.find("minLength"); if (attr != sch.end()) { - minLength_ = {true, attr.value().get()}; + minLength_ = {true, attr.value().get()}; sch.erase(attr); } @@ -999,13 +999,13 @@ public: { auto attr = sch.find("maxProperties"); if (attr != sch.end()) { - maxProperties_ = {true, attr.value().get()}; + maxProperties_ = {true, attr.value().get()}; sch.erase(attr); } attr = sch.find("minProperties"); if (attr != sch.end()) { - minProperties_ = {true, attr.value().get()}; + minProperties_ = {true, attr.value().get()}; sch.erase(attr); } @@ -1143,13 +1143,13 @@ public: { auto attr = sch.find("maxItems"); if (attr != sch.end()) { - maxItems_ = {true, attr.value().get()}; + maxItems_ = {true, attr.value().get()}; sch.erase(attr); } attr = sch.find("minItems"); if (attr != sch.end()) { - minItems_ = {true, attr.value().get()}; + minItems_ = {true, attr.value().get()}; sch.erase(attr); }