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>
|
template <typename U>
|
||||||
// cppcheck-suppress noExplicitConstructor
|
// cppcheck-suppress noExplicitConstructor
|
||||||
VNRef(U&& x)
|
VNRef(U&& x)
|
||||||
: std::reference_wrapper<T_Node> {
|
: std::reference_wrapper<T_Node>{x} {}
|
||||||
x
|
|
||||||
}
|
|
||||||
{}
|
|
||||||
// cppcheck-suppress noExplicitConstructor
|
// cppcheck-suppress noExplicitConstructor
|
||||||
VNRef(const std::reference_wrapper<T_Node>& other)
|
VNRef(const std::reference_wrapper<T_Node>& other)
|
||||||
: std::reference_wrapper<T_Node> {
|
: std::reference_wrapper<T_Node>{other} {}
|
||||||
other
|
|
||||||
}
|
|
||||||
{}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(VNRef<AstNode>) == sizeof(std::reference_wrapper<AstNode>),
|
static_assert(sizeof(VNRef<AstNode>) == sizeof(std::reference_wrapper<AstNode>),
|
||||||
|
|||||||
Reference in New Issue
Block a user