1.1 --- a/src/hugo/map_registry.h Fri Sep 24 11:55:54 2004 +0000
1.2 +++ b/src/hugo/map_registry.h Sun Sep 26 21:43:38 2004 +0000
1.3 @@ -252,7 +252,7 @@
1.4 /**
1.5 * Notify all the registered maps about a Key added.
1.6 */
1.7 - void add(KeyType& key) {
1.8 + void add(const KeyType& key) {
1.9 typename Container::iterator it;
1.10 for (it = container.begin(); it != container.end(); ++it) {
1.11 (*it)->add(key);
1.12 @@ -262,7 +262,7 @@
1.13 /**
1.14 * Notify all the registered maps about a Key erased.
1.15 */
1.16 - void erase(KeyType& key) {
1.17 + void erase(const KeyType& key) {
1.18 typename Container::iterator it;
1.19 for (it = container.begin(); it != container.end(); ++it) {
1.20 (*it)->erase(key);