mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Apply 'make format'
This commit is contained in:
+2
-8
@@ -2688,16 +2688,10 @@ public:
|
||||
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>),
|
||||
|
||||
Reference in New Issue
Block a user