Fix missing virtual dtors
parent
99256c6d28
commit
406060b457
|
@ -45,6 +45,7 @@ class GTSAM_EXPORT DiscreteBayesTreeClique
|
|||
typedef boost::shared_ptr<This> shared_ptr;
|
||||
typedef boost::weak_ptr<This> weak_ptr;
|
||||
DiscreteBayesTreeClique() {}
|
||||
virtual ~DiscreteBayesTreeClique() {}
|
||||
DiscreteBayesTreeClique(
|
||||
const boost::shared_ptr<DiscreteConditional>& conditional)
|
||||
: Base(conditional) {}
|
||||
|
|
|
@ -41,6 +41,7 @@ namespace gtsam {
|
|||
typedef boost::shared_ptr<This> shared_ptr;
|
||||
typedef boost::weak_ptr<This> weak_ptr;
|
||||
GaussianBayesTreeClique() {}
|
||||
virtual ~GaussianBayesTreeClique() {}
|
||||
GaussianBayesTreeClique(const boost::shared_ptr<GaussianConditional>& conditional) : Base(conditional) {}
|
||||
};
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ class GTSAM_EXPORT ISAM2Clique
|
|||
|
||||
/// Default constructor
|
||||
ISAM2Clique() : Base() {}
|
||||
virtual ~ISAM2Clique() = default;
|
||||
|
||||
/// Copy constructor, does *not* copy solution pointers as these are invalid
|
||||
/// in different trees.
|
||||
|
|
|
@ -39,6 +39,7 @@ namespace gtsam {
|
|||
typedef boost::shared_ptr<This> shared_ptr;
|
||||
typedef boost::weak_ptr<This> weak_ptr;
|
||||
SymbolicBayesTreeClique() {}
|
||||
virtual ~SymbolicBayesTreeClique() {}
|
||||
SymbolicBayesTreeClique(const boost::shared_ptr<SymbolicConditional>& conditional) : Base(conditional) {}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue