diff --git a/src/V3Ast.h b/src/V3Ast.h index 1a41b770e..79fdfd3e3 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -2688,16 +2688,10 @@ public: template // cppcheck-suppress noExplicitConstructor VNRef(U&& x) - : std::reference_wrapper { - x - } - {} + : std::reference_wrapper{x} {} // cppcheck-suppress noExplicitConstructor VNRef(const std::reference_wrapper& other) - : std::reference_wrapper { - other - } - {} + : std::reference_wrapper{other} {} }; static_assert(sizeof(VNRef) == sizeof(std::reference_wrapper),