Skip to content

Commit

Permalink
Really make reco::TrackBase destructor virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
wmtan committed Jul 25, 2013
1 parent 6569008 commit 3d0502b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DataFormats/TrackReco/interface/TrackBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
*
* \author Thomas Speer, Luca Lista, Pascal Vanlaer, Juan Alcaraz
*
* \version $Id: TrackBase.h,v 1.86 2012/03/16 18:16:21 mangano Exp $
*
*/

#include "DataFormats/Math/interface/Vector.h"
Expand Down Expand Up @@ -102,7 +100,7 @@ namespace reco {
const Vector & momentum, int charge, const CovarianceMatrix &,
TrackAlgorithm=undefAlgorithm, TrackQuality quality=undefQuality,signed char nloops=0);
/// virtual destructor
~TrackBase();
virtual ~TrackBase();
/// chi-squared of the fit
double chi2() const { return chi2_; }
/// number of degrees of freedom of the fit
Expand Down

0 comments on commit 3d0502b

Please sign in to comment.