Added virtual destructor to pacify a warning

release/4.3a0
Alex Cunningham 2013-11-04 21:29:12 +00:00
parent d95ae93f91
commit 8e35490f22
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ namespace gtsam {
template<typename CONTAINER>
GaussianFactor(const CONTAINER& keys) : Base(keys) {}
/** Destructor */
virtual ~GaussianFactor() {}
// Implementing Testable interface
virtual void print(const std::string& s = "",
const KeyFormatter& formatter = DefaultKeyFormatter) const = 0;