Commit 6c5a2a6b authored by Stefan Hoeche's avatar Stefan Hoeche
Browse files

added virtual destructor to FF base class

parent c35b213e
......@@ -12,6 +12,9 @@ using namespace ATOOLS;
#include "HADRONS++/Current_Library/VA_P_P_BallZwicky.C"
namespace HADRONS { namespace VA_P_P_FFs {
FormFactor_Base::~FormFactor_Base()
{
}
class NoFF : public FormFactor_Base {
public:
NoFF(GeneralModel model, double* masses, const Flavour_Vector& flavs,
......
......@@ -25,6 +25,7 @@ public:
m_fplus=0.0; m_f0=0.0;
m_calced=false;
}
virtual ~FormFactor_Base();
virtual void CalcFFs( ATOOLS::Vec4D p0, ATOOLS::Vec4D p1 ) = 0;
double fplus() { if(!m_calced) abort(); return m_fplus; }
double f0() { if(!m_calced) abort(); return m_f0; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment