ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/nonbonded/LJ.hpp
(Generate patch)

Comparing branches/development/src/nonbonded/LJ.hpp (file contents):
Revision 1472 by gezelter, Mon Jul 19 20:42:55 2010 UTC vs.
Revision 1476 by gezelter, Wed Jul 21 18:31:05 2010 UTC

# Line 72 | Line 72 | namespace OpenMD {
72      static void setLJDefaultCutoff(RealType *thisRcut, int *sP, int *sF);
73  
74    private:
75 +    virtual ~LJ() { }
76      // singleton pattern, prevent reconstruction
77 <    LJ() {};
77 >    LJ() { }
78      LJ(LJ const &) {};
79      LJ& operator=(LJ const&) {};
80      static LJ* _instance;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines