summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-12-16 10:38:25 +0100
committerClifford Wolf <clifford@clifford.at>2014-12-16 10:38:25 +0100
commit6cec188c524f83a84e2cda88f0c121998867bc77 (patch)
tree39a437b057a6133e85c7e8df0ffd9d68b29c7a0d
parente01254d8244d16f98d6a99a2cd8c1692fe334dce (diff)
Fixed build with gcc 4.6
-rw-r--r--kernel/rtlil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 29fa9069..19996c8f 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -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;