Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom_particleinfo.cpp

    rb453f9 ra3696f  
    2222ostream & operator << (ostream &ost, const ParticleInfo &a)
    2323{
    24   ost << "[" << a.Name << "|" << &a << "]";
     24  if (a.Name == NULL)
     25    ost << "[NULL]";
     26  else
     27    ost << "[" << a.Name << "|" << &a << "]";
    2528  return ost;
    2629};
     
    2831ostream & ParticleInfo::operator << (ostream &ost) const
    2932{
    30   ost << "[" << Name << "|" << this << "]";
     33  if (Name == NULL)
     34    ost << "[NULL]";
     35  else
     36    ost << "[" << Name << "|" << this << "]";
    3137  return ost;
    3238};
Note: See TracChangeset for help on using the changeset viewer.