Removed typename in shared_ptr declaration.
parent
828e07df08
commit
b3a0802c93
|
@ -342,11 +342,8 @@ namespace gtsam {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/** Shorthand for a smart pointer to a factor */
|
/** Shorthand for a smart pointer to a factor */
|
||||||
#ifndef _MSC_VER
|
|
||||||
typedef typename boost::shared_ptr<CombinedImuFactor> shared_ptr;
|
|
||||||
#else
|
|
||||||
typedef boost::shared_ptr<CombinedImuFactor> shared_ptr;
|
typedef boost::shared_ptr<CombinedImuFactor> shared_ptr;
|
||||||
#endif
|
|
||||||
/** Default constructor - only use for serialization */
|
/** Default constructor - only use for serialization */
|
||||||
CombinedImuFactor() : preintegratedMeasurements_(imuBias::ConstantBias(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix::Zero(6,6)) {}
|
CombinedImuFactor() : preintegratedMeasurements_(imuBias::ConstantBias(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero(), Matrix::Zero(6,6)) {}
|
||||||
|
|
||||||
|
|
|
@ -304,11 +304,8 @@ namespace gtsam {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/** Shorthand for a smart pointer to a factor */
|
/** Shorthand for a smart pointer to a factor */
|
||||||
#ifndef _MSC_VER
|
|
||||||
typedef typename boost::shared_ptr<ImuFactor> shared_ptr;
|
|
||||||
#else
|
|
||||||
typedef boost::shared_ptr<ImuFactor> shared_ptr;
|
typedef boost::shared_ptr<ImuFactor> shared_ptr;
|
||||||
#endif
|
|
||||||
|
|
||||||
/** Default constructor - only use for serialization */
|
/** Default constructor - only use for serialization */
|
||||||
ImuFactor() : preintegratedMeasurements_(imuBias::ConstantBias(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero()) {}
|
ImuFactor() : preintegratedMeasurements_(imuBias::ConstantBias(), Matrix3::Zero(), Matrix3::Zero(), Matrix3::Zero()) {}
|
||||||
|
|
Loading…
Reference in New Issue