mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00: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:
parent
9fe43041f5
commit
c192c303d2
8 changed files with 7 additions and 16 deletions
|
@ -116,7 +116,7 @@ struct VariantConstructors {
|
|||
internal_cast().set(t, VariantNoClearTag {});
|
||||
}
|
||||
|
||||
ALWAYS_INLINE VariantConstructors() { }
|
||||
ALWAYS_INLINE VariantConstructors() = default;
|
||||
|
||||
private:
|
||||
[[nodiscard]] ALWAYS_INLINE Base& internal_cast()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue