diff options
author | Andreas Kling <kling@serenityos.org> | 2023-03-06 14:17:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-06 23:46:35 +0100 |
commit | 8a48246ed1a93983668a25f5b9b0af0e745e3f04 (patch) | |
tree | dd98425d119f79e0160bf19951f96a4a30276cbb /Userland/Applets | |
parent | 104be6c8ace8d56f66a89b570cdd615e74d22aa8 (diff) | |
download | serenity-8a48246ed1a93983668a25f5b9b0af0e745e3f04.zip |
Everywhere: Stop using NonnullRefPtrVector
This class had slightly confusing semantics and the added weirdness
doesn't seem worth it just so we can say "." instead of "->" when
iterating over a vector of NNRPs.
This patch replaces NonnullRefPtrVector<T> with Vector<NNRP<T>>.
Diffstat (limited to 'Userland/Applets')
-rw-r--r-- | Userland/Applets/ResourceGraph/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/ResourceGraph/main.cpp b/Userland/Applets/ResourceGraph/main.cpp index 665219db9f..91e5115460 100644 --- a/Userland/Applets/ResourceGraph/main.cpp +++ b/Userland/Applets/ResourceGraph/main.cpp @@ -257,7 +257,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) return 1; } - NonnullRefPtrVector<GUI::Window> applet_windows; + Vector<NonnullRefPtr<GUI::Window>> applet_windows; auto create_applet = [&](GraphType graph_type, StringView spec) -> ErrorOr<void> { auto parts = spec.split_view(','); |