X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/465dac153770a28f3a334705a06a1ee7a457c965..3baaf982217fbc818965e8ed71c3ec91e96844d5:/src/kernel/context/Context.hpp diff --git a/src/kernel/context/Context.hpp b/src/kernel/context/Context.hpp index 10ddbe6000..50fc40b7f0 100644 --- a/src/kernel/context/Context.hpp +++ b/src/kernel/context/Context.hpp @@ -20,11 +20,8 @@ namespace kernel { namespace context { class XBT_PUBLIC ContextFactory { -private: - std::string name_; - public: - explicit ContextFactory(std::string name) : name_(std::move(name)) {} + explicit ContextFactory() {} virtual ~ContextFactory(); virtual Context* create_context(std::function code, void_pfn_smxprocess_t cleanup, smx_actor_t process) = 0; @@ -34,7 +31,6 @@ public: virtual Context* create_maestro(std::function code, smx_actor_t process); virtual void run_all() = 0; - std::string const& name() const { return name_; } protected: template T* new_context(Args&&... args)