Mix-in Deterministic RNG at Context instead of BaseCtx

This commit is contained in:
Sergiusz Bazanski 2018-07-20 11:04:54 +01:00
parent 55d5f8f248
commit b84a446eef

View File

@ -342,7 +342,7 @@ class DeterministicRNG
}; };
class BaseCtx : public IdStringDB, public DeterministicRNG class BaseCtx : public IdStringDB
{ {
private: private:
std::mutex mutex; std::mutex mutex;
@ -400,7 +400,7 @@ NEXTPNR_NAMESPACE_END
NEXTPNR_NAMESPACE_BEGIN NEXTPNR_NAMESPACE_BEGIN
struct Context : Arch struct Context : Arch, DeterministicRNG
{ {
bool verbose = false; bool verbose = false;
bool debug = false; bool debug = false;