]> AND Public Git Repository - simgrid.git/blobdiff - examples/s4u/dht-kademlia/routing_table.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv examples/platforms/trace examples/platforms/profiles
[simgrid.git] / examples / s4u / dht-kademlia / routing_table.hpp
index 60354ce0f482cd917238515cdd2aa1aea43fad0f..08656fdab3660a3db82922eb56ca11deaf51b8f9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012, 2014, 2017. The SimGrid Team.
+/* Copyright (c) 2012-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@ class RoutingTable {
 public:
   Bucket** buckets; // Node bucket list - 160 sized.
   explicit RoutingTable(unsigned int node_id);
+  RoutingTable(const RoutingTable&) = delete;
+  RoutingTable& operator=(const RoutingTable&) = delete;
   ~RoutingTable();
   void print();
   Bucket* findBucket(unsigned int id);