--- PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.cpp 2009/09/25 15:36:45 1.1 +++ PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.cpp 2009/10/29 09:42:44 1.2 @@ -27,31 +27,3 @@ _rootHisto = new TH2D(); } - -template<> -Histo2DAction::~Histo2DAction() { - - TH2I *dummy = (TH2I*)_rootHisto; - delete dummy; - _rootHisto = NULL; - -} - -template<> -Histo2DAction::~Histo2DAction() { - - TH2F *dummy = (TH2F*)_rootHisto; - delete dummy; - _rootHisto = NULL; -} - -template<> -Histo2DAction::~Histo2DAction() { - - TH2D *dummy = (TH2D*)_rootHisto; - delete dummy; - _rootHisto = NULL; -} - - -