AK: Add new failable JsonArray::{append/set} functions

Move all old usages to the more explicit `JsonArray:must_{append/set}`
This commit is contained in:
Cameron Youell 2023-04-17 15:38:27 +10:00 committed by Andreas Kling
commit 8134dccdc7
Notes: sideshowbarker 2024-07-17 22:01:16 +09:00
14 changed files with 28 additions and 25 deletions

View file

@ -34,7 +34,7 @@ Layout::Layout(Margins initial_margins, int spacing)
} else {
VERIFY_NOT_REACHED();
}
entries_array.append(move(entry_object));
entries_array.must_append(move(entry_object));
}
return entries_array;
});