diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index da5e35a..7cc65bd 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -1034,12 +1034,12 @@ bool Value::removeIndex(ArrayIndex index, Value* removed) { *removed = it->second; ArrayIndex oldSize = size(); // shift left all items left, into the place of the "removed" - for (ArrayIndex i=index; ifind(keyLast); value_.map_->erase(itLast); return true;