src/hugo/map_registry.h
changeset 919 6153d9cf78c6
parent 909 6a22e0dfd453
     1.1 --- a/src/hugo/map_registry.h	Wed Sep 29 10:35:35 2004 +0000
     1.2 +++ b/src/hugo/map_registry.h	Wed Sep 29 14:02:14 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(const KeyType& key) {
     1.8 +    void add(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(const KeyType& key) {
    1.17 +    void erase(KeyType& key) {
    1.18        typename Container::iterator it;
    1.19        for (it = container.begin(); it != container.end(); ++it) {
    1.20  	(*it)->erase(key);