Skip to content
Snippets Groups Projects
Commit e2abcd6d authored by Maël Madon's avatar Maël Madon
Browse files

refac: remove multi-inheritage of DMUserMultiBehavior

parent 40432bbf
Branches
Tags
1 merge request!21issue17,18,21_new
...@@ -60,10 +60,9 @@ StateAutomata::~StateAutomata() ...@@ -60,10 +60,9 @@ StateAutomata::~StateAutomata()
DMUserMultiBehavior::DMUserMultiBehavior(const std::string &name, DMUserMultiBehavior::DMUserMultiBehavior(const std::string &name,
const rapidjson::Value &param, uint_fast32_t random_seed, const rapidjson::Value &param, uint_fast32_t random_seed,
StateAutomata *state_automata, LoggerUserStat *logger) StateAutomata *state_automata, LoggerUserStat *logger)
: DMUserRenonce(name, param, nullptr)
, DMUserReconfig(name, param, nullptr)
, DMUserDegrad(name, param, nullptr)
{ {
init_ReplayUser(name, param);
this->state_automata = state_automata; this->state_automata = state_automata;
this->logger = logger; this->logger = logger;
random_gen = std::mt19937(random_seed); random_gen = std::mt19937(random_seed);
......
...@@ -58,8 +58,7 @@ private: ...@@ -58,8 +58,7 @@ private:
* See the documentation of red_window_behavior and yellow_window_behavior. * See the documentation of red_window_behavior and yellow_window_behavior.
*/ */
class DMUserMultiBehavior : public DMUserRenonce,public DMUserReconfig, class DMUserMultiBehavior : public ReplayUser
public DMUserDegrad
{ {
public: public:
DMUserMultiBehavior( DMUserMultiBehavior(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment