X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/313686bba591f787dd41c1afe358305f7ee57334..cc4eceb15c80a597e44222b8c0ff60caf85db959:/examples/s4u/app-bittorrent/s4u-bittorrent.hpp diff --git a/examples/s4u/app-bittorrent/s4u-bittorrent.hpp b/examples/s4u/app-bittorrent/s4u-bittorrent.hpp index 4b1728bfd0..69759e6ea4 100644 --- a/examples/s4u/app-bittorrent/s4u-bittorrent.hpp +++ b/examples/s4u/app-bittorrent/s4u-bittorrent.hpp @@ -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_); };