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:
Brian Gianforcaro 2021-09-15 23:24:47 -07:00 committed by Andreas Kling
commit 2b57018196
Notes: sideshowbarker 2024-07-18 03:52:28 +09:00
6 changed files with 5 additions and 9 deletions

View file

@ -32,7 +32,7 @@ enum class PropertyID;
class ParsingContext {
public:
ParsingContext();
ParsingContext() = default;
explicit ParsingContext(DOM::Document&);
explicit ParsingContext(DOM::ParentNode&);