mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
This commit is contained in:
parent
689ca370d4
commit
359d6e7b0b
111 changed files with 517 additions and 503 deletions
|
@ -73,7 +73,7 @@ void Inspector::set_registers(PtraceRegisters const&) {};
|
|||
void Inspector::for_each_loaded_library(Function<IterationDecision(Debug::LoadedLibrary const&)> func) const
|
||||
{
|
||||
for (auto& library : m_loaded_libraries) {
|
||||
if (func(library) == IterationDecision::Break)
|
||||
if (func(*library) == IterationDecision::Break)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ private:
|
|||
|
||||
NonnullOwnPtr<Reader> m_reader;
|
||||
|
||||
NonnullOwnPtrVector<Debug::LoadedLibrary> m_loaded_libraries;
|
||||
Vector<NonnullOwnPtr<Debug::LoadedLibrary>> m_loaded_libraries;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue