mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:18:12 +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
|
@ -71,7 +71,7 @@ void ToolboxWidget::setup_tools()
|
|||
m_tools.append(move(tool));
|
||||
if (is_default_tool) {
|
||||
VERIFY(m_active_tool == nullptr);
|
||||
m_active_tool = &m_tools[m_tools.size() - 1];
|
||||
m_active_tool = m_tools[m_tools.size() - 1];
|
||||
action->set_checked(true);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue