Assistant: Remove outdated comment about NonnullPtrVector

This commit is contained in:
Andreas Kling 2023-03-06 18:05:13 +01:00
parent b4022dc844
commit 2973298df1
Notes: sideshowbarker 2024-07-17 09:37:30 +09:00

View File

@ -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<NonnullRefPtr<Result const>> all_results;
for (auto const& results_for_provider : new_results->value) {
if (results_for_provider == nullptr)