mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
Assistant: Remove outdated comment about NonnullPtrVector
This commit is contained in:
parent
b4022dc844
commit
2973298df1
Notes:
sideshowbarker
2024-07-17 09:37:30 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2973298df1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user