mirror of https://github.com/YosysHQ/yosys.git
Fixed build with gcc 4.6
This commit is contained in:
parent
e01254d824
commit
6cec188c52
|
@ -86,7 +86,7 @@ namespace RTLIL
|
|||
};
|
||||
|
||||
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 = false; }
|
||||
} destruct_guard;
|
||||
|
|
Loading…
Reference in New Issue