Changeset b65771


Ignore:
Timestamp:
Aug 3, 2009, 4:43:42 PM (16 years ago)
Author:
Saskia Metzler <metzler@…>
Children:
3219a0
Parents:
a8c8ba
Message:

output operator now takes const argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/atom.cpp

    ra8c8ba rb65771  
    8989};
    9090
    91 ostream & operator << (ostream &ost, atom &a)
     91ostream & operator << (ostream &ost, const atom &a)
    9292{
    9393        ost << "[" << a.Name << "|" << &a << "]";
     
    9999 * \return true - this one's is smaller, false - not
    100100 */
    101 bool atom::Compare(atom &ptr)
     101bool atom::Compare(const atom &ptr)
    102102{
    103103        if (nr < ptr.nr)
Note: See TracChangeset for help on using the changeset viewer.