mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-10-07 03:43:54 +00:00
Add missing endrange
This commit is contained in:
parent
66956f3acb
commit
878bd67cff
@ -184,7 +184,7 @@ Config::Config() {
|
||||
removeUnused = [&getVal, &removeUnused](json& obj, json& def) -> bool {
|
||||
if (obj.is_array()) {
|
||||
if (obj.size() > def.size()) {
|
||||
obj.erase(obj.begin() + std::distance(def.begin(), def.end()));
|
||||
obj.erase(obj.begin() + std::distance(def.begin(), def.end()), obj.end());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user