COIN-OR::LEMON - Graph Library

Changeset 909:6a22e0dfd453 in lemon-0.x for src/hugo/map_registry.h


Ignore:
Timestamp:
09/26/04 23:43:38 (20 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1220
Message:

New symmetric Graph concept.
New symmetric list and smart graph.
Symmetric Graph tests based on the Graph Tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/map_registry.h

    r906 r909  
    253253     * Notify all the registered maps about a Key added.
    254254     */
    255     void add(KeyType& key) {
     255    void add(const KeyType& key) {
    256256      typename Container::iterator it;
    257257      for (it = container.begin(); it != container.end(); ++it) {
     
    263263     * Notify all the registered maps about a Key erased.
    264264     */
    265     void erase(KeyType& key) {
     265    void erase(const KeyType& key) {
    266266      typename Container::iterator it;
    267267      for (it = container.begin(); it != container.end(); ++it) {
Note: See TracChangeset for help on using the changeset viewer.