Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1060 for code/trunk


Ignore:
Timestamp:
Apr 14, 2008, 2:22:59 PM (17 years ago)
Author:
rgrieder
Message:
  • 3 copy paste bugfixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/Identifier.cc

    r1059 r1060  
    173173    bool Identifier::isChildOf(const Identifier* identifier) const
    174174    {
    175         return (this->parents_.find(identifier) != this->children_->end());
     175        return (this->parents_.find(identifier) != this->parents_.end());
    176176    }
    177177
     
    182182    bool Identifier::isDirectChildOf(const Identifier* identifier) const
    183183    {
    184         return (this->directParents_.find(identifier) != this->children_->end());
     184        return (this->directParents_.find(identifier) != this->directParents_.end());
    185185    }
    186186
     
    200200    bool Identifier::isDirectParentOf(const Identifier* identifier) const
    201201    {
    202         return (this->directChildren_->find(identifier) != this->children_->end());
     202        return (this->directChildren_->find(identifier) != this->directChildren_->end());
    203203    }
    204204
Note: See TracChangeset for help on using the changeset viewer.