1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00

AK: Use default constructor/destructor instead of declaring an empty one

Default implementations allow for more optimizations.
See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
Brian Gianforcaro 2021-09-15 23:20:31 -07:00 committed by Andreas Kling
parent 9fe43041f5
commit c192c303d2
Notes: sideshowbarker 2024-07-18 03:52:35 +09:00
8 changed files with 7 additions and 16 deletions

View file

@ -46,7 +46,7 @@ public:
protected:
BaseRedBlackTree() = default; // These are protected to ensure no one instantiates the leaky base red black tree directly
virtual ~BaseRedBlackTree() {};
virtual ~BaseRedBlackTree() = default;
void rotate_left(Node* subtree_root)
{