Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enforce "Rule-of-Three/Five".
[simgrid.git] / examples / s4u / dht-kademlia / message.hpp
index 5a19b91..04306c0 100644 (file)
@@ -33,6 +33,8 @@ public:
       : Message(sender_id, destination_id, nullptr, mailbox, hostname)
   {
   }
+  Message(const Message&) = delete;
+  Message& operator=(const Message&) = delete;
   ~Message()
   {
     if (issuer_host_name_)