mirror of https://github.com/YosysHQ/yosys.git
Merge branch 'master' of github.com:cliffordwolf/yosys
This commit is contained in:
commit
36f0451ab4
|
@ -86,7 +86,7 @@ namespace RTLIL
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct destruct_guard_t {
|
static struct destruct_guard_t {
|
||||||
bool ok = false;
|
bool ok; // POD, will be initialized to zero
|
||||||
destruct_guard_t() { ok = true; }
|
destruct_guard_t() { ok = true; }
|
||||||
~destruct_guard_t() { ok = false; }
|
~destruct_guard_t() { ok = false; }
|
||||||
} destruct_guard;
|
} destruct_guard;
|
||||||
|
|
Loading…
Reference in New Issue