Skip to content

Commit

Permalink
SystemMonitor: Fix assert when sorting by the "Page map" column
Browse files Browse the repository at this point in the history
  • Loading branch information
xTibor authored and awesomekling committed Sep 22, 2020
1 parent e596b1d commit f910cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Applications/SystemMonitor/ProcessMemoryMapWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget()
return GUI::Variant();
},
[](auto&) {
return GUI::Variant();
return GUI::Variant(0);
},
[](const JsonObject& object) {
auto pagemap = object.get("pagemap").as_string_or({});
Expand Down

0 comments on commit f910cdc

Please sign in to comment.