From 951cd689791e6ea46b475c34220dd83c3e84828d Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Thu, 16 Sep 2021 00:23:29 -0700 Subject: [PATCH] Shell: Use default instead of an empty constructor/destructor Default implementations allow for more optimizations. See: https://pvs-studio.com/en/docs/warnings/v832/ --- Userland/Shell/AST.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Shell/AST.h b/Userland/Shell/AST.h index ce6d286412..0d0d7ed51b 100644 --- a/Userland/Shell/AST.h +++ b/Userland/Shell/AST.h @@ -1506,7 +1506,7 @@ namespace AK { template<> struct Formatter : StandardFormatter { - Formatter() { } + Formatter() = default; explicit Formatter(StandardFormatter formatter) : StandardFormatter(formatter) {