fix warnings from tests
parent
2c5be4de19
commit
0a501a5615
|
@ -119,22 +119,20 @@ public:
|
|||
/// @name Standard Constructors
|
||||
/// @{
|
||||
|
||||
/** default constructor */
|
||||
PinholeBase() {
|
||||
}
|
||||
/// Default constructor
|
||||
PinholeBase() {}
|
||||
|
||||
/** constructor with pose */
|
||||
explicit PinholeBase(const Pose3& pose) :
|
||||
pose_(pose) {
|
||||
}
|
||||
/// Constructor with pose
|
||||
explicit PinholeBase(const Pose3& pose) : pose_(pose) {}
|
||||
|
||||
/// @}
|
||||
/// @name Advanced Constructors
|
||||
/// @{
|
||||
|
||||
explicit PinholeBase(const Vector &v) :
|
||||
pose_(Pose3::Expmap(v)) {
|
||||
}
|
||||
explicit PinholeBase(const Vector& v) : pose_(Pose3::Expmap(v)) {}
|
||||
|
||||
/// Default destructor
|
||||
virtual ~PinholeBase() = default;
|
||||
|
||||
/// @}
|
||||
/// @name Testable
|
||||
|
|
|
@ -102,6 +102,12 @@ typedef FastSet<FactorIndex> FactorIndexSet;
|
|||
/// @}
|
||||
|
||||
public:
|
||||
/// Default destructor
|
||||
// public since it is required for boost serialization and static methods.
|
||||
// virtual since it is public.
|
||||
// http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-dtor-virtual
|
||||
virtual ~Factor() = default;
|
||||
|
||||
/// @name Standard Interface
|
||||
/// @{
|
||||
|
||||
|
@ -130,7 +136,6 @@ typedef FastSet<FactorIndex> FactorIndexSet;
|
|||
|
||||
/// @}
|
||||
|
||||
|
||||
/// @name Testable
|
||||
/// @{
|
||||
|
||||
|
|
|
@ -148,6 +148,10 @@ class FactorGraph {
|
|||
/// @}
|
||||
|
||||
public:
|
||||
/// Default destructor
|
||||
// Public and virtual so boost serialization can call it.
|
||||
virtual ~FactorGraph() = default;
|
||||
|
||||
/// @name Adding Single Factors
|
||||
/// @{
|
||||
|
||||
|
|
Loading…
Reference in New Issue