A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
further snake_case s4u::Engine
[simgrid.git]
/
examples
/
s4u
/
dht-kademlia
/
routing_table.hpp
diff --git
a/examples/s4u/dht-kademlia/routing_table.hpp
b/examples/s4u/dht-kademlia/routing_table.hpp
index
60354ce
..
0f869ef
100644
(file)
--- a/
examples/s4u/dht-kademlia/routing_table.hpp
+++ b/
examples/s4u/dht-kademlia/routing_table.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2012
, 2014, 2017
. The SimGrid Team.
+/* Copyright (c) 2012
-2018
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* 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);
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);
~RoutingTable();
void print();
Bucket* findBucket(unsigned int id);