X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/99af2be2b061257ef72e44066e6257e4a5d84a02..ce354758f86f0fad1ea536f1cbc0a337267b9987:/src/mc/api/strategy/Strategy.hpp diff --git a/src/mc/api/strategy/Strategy.hpp b/src/mc/api/strategy/Strategy.hpp index 8696b17924..92615d5ec5 100644 --- a/src/mc/api/strategy/Strategy.hpp +++ b/src/mc/api/strategy/Strategy.hpp @@ -20,6 +20,11 @@ public: /** Used to store penalties computed by the strategy to each actor */ std::map penalties_; virtual ~Strategy() = default; + void operator=(const Strategy&) + { /* nothing to copy over while cloning */ + return; + } + virtual std::pair next_transition() const = 0; virtual void execute_next(aid_t aid, RemoteApp& app) = 0; virtual void consider_best() = 0;