1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:18:12 +00:00

SystemMonitor: Fix assert when sorting by the "Page map" column

This commit is contained in:
Tibor Nagy 2020-09-22 00:24:27 +02:00 committed by Andreas Kling
parent e596b1da88
commit f910cdcdb7

View file

@ -107,7 +107,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget()
return GUI::Variant(); return GUI::Variant();
}, },
[](auto&) { [](auto&) {
return GUI::Variant(); return GUI::Variant(0);
}, },
[](const JsonObject& object) { [](const JsonObject& object) {
auto pagemap = object.get("pagemap").as_string_or({}); auto pagemap = object.get("pagemap").as_string_or({});