Fork me on GitHub

Changeset 588 in svn for trunk/interface/PdgParticle.h


Ignore:
Timestamp:
Apr 30, 2012, 9:58:33 AM (12 years ago)
Author:
cp3-support
Message:

cleaning table to particle tables to avoid memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/PdgParticle.h

    r534 r588  
    4545        PdgParticle(const PdgParticle& p);
    4646        PdgParticle& operator=(const PdgParticle& p);
    47         ~PdgParticle() {};
     47        virtual ~PdgParticle() {};
    4848        long int pid() const {return _pid;};
    4949        float mass() const {return _mass;};
     
    6969        PdgTable(const PdgTable& table);
    7070        PdgTable& operator=(const PdgTable& table);
    71         ~PdgTable(){};
     71        virtual ~PdgTable(){};
    7272        void insert(const long int pid, const PdgParticle &p);
    7373        void print() const;
Note: See TracChangeset for help on using the changeset viewer.