Ignore:
Timestamp:
May 8, 2010, 12:47:57 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
0341a9
Parents:
25e17e9
Message:

FIX: Memory corruption in particleInfo class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/atom_particleinfo.hpp

    r25e17e9 r1de701  
    2828public:
    2929  int nr;       // index to easierly identify
    30   char *Name;   // some name to reference to on output
    3130
    3231  ParticleInfo();
     
    3433  ~ParticleInfo();
    3534
     35  const std::string& getName() const;
     36  void setName(const std::string&);
     37
    3638  ostream & operator << (ostream &ost) const;
    3739
    3840private:
     41  std::string name;   // some name to reference to on output
    3942};
    4043
Note: See TracChangeset for help on using the changeset viewer.