Fixed build with gcc 4.6

This commit is contained in:
Clifford Wolf 2014-12-16 10:38:25 +01:00
parent e01254d824
commit 6cec188c52
1 changed files with 1 additions and 1 deletions

View File

@ -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;