Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2007, 2:59:58 AM (17 years ago)
Author:
landauf
Message:

added some "const" qualifiers to the identifier-functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/IdentifierList.cc

    r197 r239  
    2323    }
    2424
    25     void IdentifierList::add(Identifier* identifier)
     25    void IdentifierList::add(const Identifier* identifier)
    2626    {
    2727        IdentifierListElement* temp = this->first_;
     
    3030    }
    3131
    32     void IdentifierList::remove(Identifier* identifier)
     32    void IdentifierList::remove(const Identifier* identifier)
    3333    {
    3434        if (!identifier)
     
    6060    }
    6161
    62     bool IdentifierList::isInList(Identifier* identifier)
     62    bool IdentifierList::isInList(const Identifier* identifier)
    6363    {
    6464        IdentifierListElement* temp = this->first_;
     
    9494    // ###  IdentifierListElement  ###
    9595    // ###############################
    96     IdentifierListElement::IdentifierListElement(Identifier* identifier)
     96    IdentifierListElement::IdentifierListElement(const Identifier* identifier)
    9797    {
    9898        this->identifier_ = identifier;
Note: See TracChangeset for help on using the changeset viewer.