mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:08:12 +00:00
AK: Make "foo"_string infallible
Stop worrying about tiny OOMs. Work towards #20405.
This commit is contained in:
parent
db2a8725c6
commit
34344120f2
181 changed files with 626 additions and 630 deletions
|
@ -56,12 +56,12 @@ MemoryStatsWidget::MemoryStatsWidget(GraphWidget* graph)
|
|||
return label;
|
||||
};
|
||||
|
||||
m_physical_pages_label = build_widgets_for_label("Physical memory:"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_physical_pages_committed_label = build_widgets_for_label("Committed memory:"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_kmalloc_space_label = build_widgets_for_label("Kernel heap:"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_kmalloc_count_label = build_widgets_for_label("Calls kmalloc:"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_kfree_count_label = build_widgets_for_label("Calls kfree:"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_kmalloc_difference_label = build_widgets_for_label("Difference:"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_physical_pages_label = build_widgets_for_label("Physical memory:"_string);
|
||||
m_physical_pages_committed_label = build_widgets_for_label("Committed memory:"_string);
|
||||
m_kmalloc_space_label = build_widgets_for_label("Kernel heap:"_string);
|
||||
m_kmalloc_count_label = build_widgets_for_label("Calls kmalloc:"_string);
|
||||
m_kfree_count_label = build_widgets_for_label("Calls kfree:"_string);
|
||||
m_kmalloc_difference_label = build_widgets_for_label("Difference:"_string);
|
||||
|
||||
refresh();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue