diff --git a/include/Nucleus.h b/include/Nucleus.h index 9fb1493..e1dfc92 100644 --- a/include/Nucleus.h +++ b/include/Nucleus.h @@ -19,7 +19,7 @@ public: Nucleus(); Nucleus(int Z, int A); Nucleus(int Z, int A, double px, double py, double pz, double E); - ~Nucleus(); + virtual ~Nucleus() override; bool SetIsotope(int Z, int A); inline void SetThetaCM(double tcm) { m_theta_cm = tcm; }; //save theta in rxn CM frame inline int GetZ() const { return m_z; }; @@ -61,4 +61,4 @@ private: }; -#endif \ No newline at end of file +#endif