| # | Line 45 | Line 45 | |
|---|---|---|
| 45 | #include <string> | |
| 46 | ||
| 47 | #include "io/Globals.hpp" | |
| 48 | + | #include "io/ParamConstraint.hpp" |
| 49 | + | #include "utils/MemoryUtils.hpp" |
| 50 | #include "utils/simError.h" | |
| 51 | ||
| 50 | – | #include "io/ParamConstraint.hpp" |
| 51 | – | |
| 52 | namespace oopse { | |
| 53 | Globals::Globals() { | |
| 54 | DefineParameter(ForceField, "forceField") | |
| # | Line 121 | Line 121 | Globals::~Globals() { | |
| 121 | } | |
| 122 | ||
| 123 | Globals::~Globals() { | |
| 124 | < | |
| 125 | < | |
| 124 | > | MemoryUtils::deletePointers(components_); |
| 125 | > | MemoryUtils::deletePointers(zconstraints_); |
| 126 | } | |
| 127 | ||
| 128 | void Globals::validate() { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |