Skip to content

Commit

Permalink
ScoringObject.h fix undefined behavior upon dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Oct 8, 2015
1 parent 47b913a commit d1325ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/DBoW2/ScoringObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class GeneralScoring
// If you change the type of WordValue, make sure you change also the
// epsilon value (this is needed by the KL method)

virtual ~GeneralScoring() {} //!< Required for virtual base classes
};

/**
Expand Down

0 comments on commit d1325ef

Please sign in to comment.