mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +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:
parent
4a53c66b7f
commit
951cd68979
Notes:
sideshowbarker
2024-07-18 03:50:50 +09:00
Author: https://github.com/bgianfo
Commit: 951cd68979
Pull-request: https://github.com/SerenityOS/serenity/pull/10053
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ namespace AK {
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
struct Formatter<Shell::AST::Command> : StandardFormatter {
|
struct Formatter<Shell::AST::Command> : StandardFormatter {
|
||||||
Formatter() { }
|
Formatter() = default;
|
||||||
explicit Formatter(StandardFormatter formatter)
|
explicit Formatter(StandardFormatter formatter)
|
||||||
: StandardFormatter(formatter)
|
: StandardFormatter(formatter)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue