mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Assistant: Remove outdated comment about NonnullPtrVector
This commit is contained in:
parent
b4022dc844
commit
2973298df1
1 changed files with 0 additions and 3 deletions
|
@ -118,9 +118,6 @@ private:
|
||||||
if (new_results == m_result_cache.end())
|
if (new_results == m_result_cache.end())
|
||||||
return;
|
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;
|
Vector<NonnullRefPtr<Result const>> all_results;
|
||||||
for (auto const& results_for_provider : new_results->value) {
|
for (auto const& results_for_provider : new_results->value) {
|
||||||
if (results_for_provider == nullptr)
|
if (results_for_provider == nullptr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue