1.1 --- a/src/hugo/map_registry.h Thu Sep 02 10:07:30 2004 +0000
1.2 +++ b/src/hugo/map_registry.h Thu Sep 02 10:54:26 2004 +0000
1.3 @@ -56,7 +56,7 @@
1.4 * Copy constructor to register into the registry.
1.5 */
1.6
1.7 - MapBase(const MapBase& copy) : registry(0), graph(copy.graph) {
1.8 + MapBase(const MapBase& copy) : graph(copy.graph), registry(0) {
1.9 if (copy.registry) {
1.10 copy.registry->attach(*this);
1.11 }
1.12 @@ -74,6 +74,7 @@
1.13 if (copy.registry) {
1.14 copy.registry->attach(*this);
1.15 }
1.16 + return *this;
1.17 }
1.18
1.19
1.20 @@ -232,7 +233,7 @@
1.21 /**
1.22 * Notify all the registered maps about a Key added.
1.23 */
1.24 - virtual void add(Key& key) {
1.25 + void add(Key& key) {
1.26 typename Container::iterator it;
1.27 for (it = container.begin(); it != container.end(); ++it) {
1.28 (*it)->add(key);
1.29 @@ -242,7 +243,7 @@
1.30 /**
1.31 * Notify all the registered maps about a Key erased.
1.32 */
1.33 - virtual void erase(Key& key) {
1.34 + void erase(Key& key) {
1.35 typename Container::iterator it;
1.36 for (it = container.begin(); it != container.end(); ++it) {
1.37 (*it)->erase(key);
1.38 @@ -252,7 +253,7 @@
1.39 /**
1.40 * Notify all the registered maps about the map should be cleared.
1.41 */
1.42 - virtual void clear() {
1.43 + void clear() {
1.44 typename Container::iterator it;
1.45 for (it = container.begin(); it != container.end(); ++it) {
1.46 (*it)->clear();