Tests: Fix mising init

This commit is contained in:
Wilson Snyder 2021-02-03 19:43:29 -05:00
parent 99afffa949
commit 36eb952b60

View File

@ -25,7 +25,8 @@ public:
: m_handle(NULL)
, m_freeit(true) {}
TestVpiHandle(vpiHandle h)
: m_handle(h) {}
: m_handle(h)
, m_freeit(true) {}
~TestVpiHandle() { release(); }
operator vpiHandle() const { return m_handle; }
inline TestVpiHandle& operator=(vpiHandle h) {