Changeset 909:6a22e0dfd453 in lemon-0.x for src/hugo/map_registry.h
- Timestamp:
- 09/26/04 23:43:38 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1220
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/map_registry.h
r906 r909 253 253 * Notify all the registered maps about a Key added. 254 254 */ 255 void add( KeyType& key) {255 void add(const KeyType& key) { 256 256 typename Container::iterator it; 257 257 for (it = container.begin(); it != container.end(); ++it) { … … 263 263 * Notify all the registered maps about a Key erased. 264 264 */ 265 void erase( KeyType& key) {265 void erase(const KeyType& key) { 266 266 typename Container::iterator it; 267 267 for (it = container.begin(); it != container.end(); ++it) {
Note: See TracChangeset
for help on using the changeset viewer.