Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enforce "Rule-of-Three/Five".
[simgrid.git] / examples / s4u / app-bittorrent / s4u-bittorrent.hpp
index 4b1728b..69759e6 100644 (file)
@@ -90,6 +90,8 @@ public:
     std::string descr = std::string("RngSream<") + host->get_cname() + ">";
     stream_           = RngStream_CreateStream(descr.c_str());
   }
+  HostBittorrent(const HostBittorrent&) = delete;
+  HostBittorrent& operator=(const HostBittorrent&) = delete;
 
   ~HostBittorrent() { RngStream_DeleteStream(&stream_); };