Skip to content

Commit

Permalink
Apply 'make format'
Browse files Browse the repository at this point in the history
  • Loading branch information
github action authored and gezalore committed Oct 23, 2023
1 parent 165a2ef commit 1bd3174
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/V3Ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -2688,16 +2688,10 @@ class VNRef final : public std::reference_wrapper<T_Node> {
template <typename U>
// cppcheck-suppress noExplicitConstructor
VNRef(U&& x)
: std::reference_wrapper<T_Node> {
x
}
{}
: std::reference_wrapper<T_Node>{x} {}
// cppcheck-suppress noExplicitConstructor
VNRef(const std::reference_wrapper<T_Node>& other)
: std::reference_wrapper<T_Node> {
other
}
{}
: std::reference_wrapper<T_Node>{other} {}
};

static_assert(sizeof(VNRef<AstNode>) == sizeof(std::reference_wrapper<AstNode>),
Expand Down

0 comments on commit 1bd3174

Please sign in to comment.