add virtual constructor

release/4.3a0
Frank Dellaert 2021-01-04 20:45:22 -05:00
parent 5333396671
commit 5df235d714
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,9 @@ class GTSAM_EXPORT Cal3 {
*/ */
Cal3(double fov, int w, int h); Cal3(double fov, int w, int h);
/// Virtual destructor
virtual ~Cal3() {}
/// @} /// @}
/// @name Advanced Constructors /// @name Advanced Constructors
/// @{ /// @{