ladybird/Userland/Applications/SystemMonitor
creator1creeper1 19d9d5bfe1 Everywhere: Mark Vector of mutable references as mutable
The point of a reference type is to behave just like the referred-to
type. So, a Foo& should behave just like a Foo.

In these cases, we had a const Vector. If it was a const Vector of Foo,
iterating over the Vector would only permit taking const references to
the individual Foos.

However, we had a const Vector of Foo&. The behavior should not
change. We should still only be permitted to take const references to
the individual Foos. Otherwise, we would be allowed to mutate the
individual Foos, which would mutate the elements of the const Vector.
This wouldn't modify the stored pointers, but it would modify the
objects that the references refer to. Since references should be
transparent, this should not be legal.

So it should be impossible to get mutable references into a const
Vector. Since we need mutable references in these cases to call the
mutating member functions, we need to mark the Vector as mutable as
well.
2022-01-16 00:38:21 +03:30
..
CMakeLists.txt SystemMonitor: Port to LibMain :^) 2021-12-04 14:24:04 +01:00
GraphWidget.cpp SystemMonitor: Use u64 for all GraphWidget values 2021-10-07 00:42:24 +02:00
GraphWidget.h SystemMonitor: Use u64 for all GraphWidget values 2021-10-07 00:42:24 +02:00
main.cpp Everywhere: Mark Vector of mutable references as mutable 2022-01-16 00:38:21 +03:30
MemoryStatsWidget.cpp SystemMonitor: Remove unused functions and enable warning globally 2022-01-04 07:51:31 +00:00
MemoryStatsWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkStatisticsWidget.cpp LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr 2021-12-24 05:11:52 -08:00
NetworkStatisticsWidget.h SystemMonitor: Display connection status icons in Network tab 2021-07-27 00:28:12 +02:00
ProcessFileDescriptorMapWidget.cpp LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr 2021-12-24 05:11:52 -08:00
ProcessFileDescriptorMapWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessMemoryMapWidget.cpp LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr 2021-12-24 05:11:52 -08:00
ProcessMemoryMapWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessModel.cpp Userland: Resolve unused-but-set-varaible warnings 2022-01-04 07:51:31 +00:00
ProcessModel.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
ProcessStateWidget.cpp SystemMonitor: Remove unused SortingProxyModel include 2021-12-24 05:11:52 -08:00
ProcessStateWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessUnveiledPathsWidget.cpp LibGUI+Userland: Make SortingProxyModel::create() return ErrorOr 2021-12-24 05:11:52 -08:00
ProcessUnveiledPathsWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ThreadStackWidget.cpp Userland: Cast unused BackgroundAction::construct() results to void 2021-12-05 15:31:03 +01:00
ThreadStackWidget.h SystemMonitor: Use a TableView to display the thread stack 2021-10-15 22:10:03 -07:00