From 2973298df1a863851be57bbb279b9288396eddf0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 6 Mar 2023 18:05:13 +0100 Subject: [PATCH] Assistant: Remove outdated comment about NonnullPtrVector --- Userland/Applications/Assistant/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Userland/Applications/Assistant/main.cpp b/Userland/Applications/Assistant/main.cpp index 04129cfbcb..7bda7ebc0f 100644 --- a/Userland/Applications/Assistant/main.cpp +++ b/Userland/Applications/Assistant/main.cpp @@ -118,9 +118,6 @@ private: if (new_results == m_result_cache.end()) return; - // NonnullRefPtrVector will provide dual_pivot_quick_sort references rather than pointers, - // and dual_pivot_quick_sort requires being able to construct the underlying type on the - // stack. Assistant::Result is pure virtual, thus cannot be constructed on the stack. Vector> all_results; for (auto const& results_for_provider : new_results->value) { if (results_for_provider == nullptr)