mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibWeb: Use default instead of an empty constructor/destructor
Default implementations allow for more optimizations. See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
parent
14eb736e22
commit
2b57018196
Notes:
sideshowbarker
2024-07-18 03:52:28 +09:00
Author: https://github.com/bgianfo
Commit: 2b57018196
Pull-request: https://github.com/SerenityOS/serenity/pull/10053
6 changed files with 5 additions and 9 deletions
|
@ -419,7 +419,7 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
TreeNode() { }
|
||||
TreeNode() = default;
|
||||
|
||||
bool m_deletion_has_begun { false };
|
||||
bool m_in_removed_last_ref { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue