Skip to content

Commit

Permalink
Merge pull request #6 from jlblancoc/patch-1
Browse files Browse the repository at this point in the history
ScoringObject.h fix undefined behavior upon dtor
  • Loading branch information
dorian3d committed Oct 8, 2015
2 parents 47b913a + d1325ef commit 4a6eed2
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 4a6eed2

Please sign in to comment.