diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-20 11:04:54 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-20 11:04:54 +0100 |
commit | b84a446eeff080715ba0b4b98c14822f0e3f8530 (patch) | |
tree | 3d9275ec31fa435fea0b0ac1c7b1f14dcd5d7362 | |
parent | 55d5f8f248a00581e54b818d747d5f42ddb5f6bb (diff) | |
download | nextpnr-b84a446eeff080715ba0b4b98c14822f0e3f8530.tar.gz nextpnr-b84a446eeff080715ba0b4b98c14822f0e3f8530.tar.bz2 nextpnr-b84a446eeff080715ba0b4b98c14822f0e3f8530.zip |
Mix-in Deterministic RNG at Context instead of BaseCtx
-rw-r--r-- | common/nextpnr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 2a416a05..1f75434d 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -342,7 +342,7 @@ class DeterministicRNG }; -class BaseCtx : public IdStringDB, public DeterministicRNG +class BaseCtx : public IdStringDB { private: std::mutex mutex; @@ -400,7 +400,7 @@ NEXTPNR_NAMESPACE_END NEXTPNR_NAMESPACE_BEGIN -struct Context : Arch +struct Context : Arch, DeterministicRNG { bool verbose = false; bool debug = false; |