Apply clang-format

This commit is contained in:
github action 2021-02-03 22:39:03 +00:00
parent 2225acd3ec
commit 7bce15b065
1 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#include "vpi_user.h"
// Avoid C++11 in this file as not all simulators allow it
// Avoid C++11 in this file as not all simulators allow it
//======================================================================
@ -21,7 +21,9 @@ class TestVpiHandle {
bool m_freeit; // No = as no C++11
public:
TestVpiHandle() : m_handle(NULL), m_freeit(true) {}
TestVpiHandle()
: m_handle(NULL)
, m_freeit(true) {}
TestVpiHandle(vpiHandle h)
: m_handle(h) {}
~TestVpiHandle() { release(); }