diff options
-rw-r--r-- | common/map.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/common/map.h b/common/map.h index e4b3099573..416a9e698b 100644 --- a/common/map.h +++ b/common/map.h @@ -39,7 +39,15 @@ protected: Node *_root; Node *_header; - public: + + Map<Key, Value>(const Map<Key, Value> &map) { + error("No copy constructor!"); + } + Map<Key, Value> &operator =(const Map<Key, Value> &map) { + error("No copy operator!"); + } + +public: class Iterator { protected: Node *_node; |