Added virtual destructors
parent
5e830a01ef
commit
8c6d21f97f
|
@ -67,6 +67,9 @@ namespace gtsam {
|
||||||
Base(model, poseKey, pointKey), measured_(measured), K_(K) {
|
Base(model, poseKey, pointKey), measured_(measured), K_(K) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Virtual destructor */
|
||||||
|
virtual ~GenericProjectionFactor() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* print
|
* print
|
||||||
* @param s optional string naming the factor
|
* @param s optional string naming the factor
|
||||||
|
|
|
@ -54,7 +54,7 @@ public:
|
||||||
Base(model, poseKey, landmarkKey), measured_(measured), K_(K) {
|
Base(model, poseKey, landmarkKey), measured_(measured), K_(K) {
|
||||||
}
|
}
|
||||||
|
|
||||||
~GenericStereoFactor() {} ///< destructor
|
virtual ~GenericStereoFactor() {} ///< Virtual destructor
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* print
|
* print
|
||||||
|
|
Loading…
Reference in New Issue