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
Enforce "Rule-of-Three/Five".
[simgrid.git]
/
src
/
surf
/
PropertyHolder.hpp
diff --git
a/src/surf/PropertyHolder.hpp
b/src/surf/PropertyHolder.hpp
index
04ff488
..
5f39e63
100644
(file)
--- a/
src/surf/PropertyHolder.hpp
+++ b/
src/surf/PropertyHolder.hpp
@@
-19,6
+19,8
@@
class PropertyHolder { // DO NOT DERIVE THIS CLASS, or the diamond inheritance m
public:
PropertyHolder() = default;
+ PropertyHolder(const PropertyHolder&) = delete;
+ PropertyHolder& operator=(const PropertyHolder&) = delete;
~PropertyHolder();
const char* get_property(const std::string& key);