Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enforce "Rule-of-Three/Five".
[simgrid.git] / src / simix / ActorImpl.hpp
index f8d8102050120c851fd211b5532d4db84419ebb5..14af36a06012a733b7ae4cfd9eb56f026802af12 100644 (file)
@@ -34,6 +34,8 @@ class XBT_PUBLIC ActorImpl : public surf::PropertyHolder {
 public:
   xbt::string name_;
   ActorImpl(xbt::string name, s4u::Host* host);
+  ActorImpl(const ActorImpl&) = delete;
+  ActorImpl& operator=(const ActorImpl&) = delete;
   ~ActorImpl();
 
   double get_kill_time();