1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:27:35 +00:00

Shell: 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-16 00:23:29 -07:00 committed by Andreas Kling
parent 4a53c66b7f
commit 951cd68979

View file

@ -1506,7 +1506,7 @@ namespace AK {
template<>
struct Formatter<Shell::AST::Command> : StandardFormatter {
Formatter() { }
Formatter() = default;
explicit Formatter(StandardFormatter formatter)
: StandardFormatter(formatter)
{