Commit ae645a2c authored by miloyip's avatar miloyip

Fix a bug in additionalItems

parent 602f8754
...@@ -388,7 +388,7 @@ public: ...@@ -388,7 +388,7 @@ public:
typename ValueType::ConstMemberIterator additionalItemsItr = value.FindMember(Value("additionalItems").Move()); typename ValueType::ConstMemberIterator additionalItemsItr = value.FindMember(Value("additionalItems").Move());
if (additionalItemsItr != value.MemberEnd()) { if (additionalItemsItr != value.MemberEnd()) {
if (additionalItemsItr->value.IsBool()) if (additionalItemsItr->value.IsBool())
additionalItems_ = maxItemsItr->value.GetBool(); additionalItems_ = additionalItemsItr->value.GetBool();
else { else {
// Error // Error
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment