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