diff --git a/gtsam/linear/IterativeSolver.h b/gtsam/linear/IterativeSolver.h index bf11b3986..3c397c9e9 100644 --- a/gtsam/linear/IterativeSolver.h +++ b/gtsam/linear/IterativeSolver.h @@ -104,7 +104,7 @@ namespace gtsam { class GTSAM_EXPORT KeyInfoEntry : public boost::tuple { public: typedef boost::tuple Base; - KeyInfoEntry(){} + KeyInfoEntry(){} KeyInfoEntry(size_t idx, size_t d, Key start) : Base(idx, d, start) {} const size_t index() const { return this->get<0>(); } const size_t dim() const { return this->get<1>(); } diff --git a/gtsam/linear/SubgraphPreconditioner.h b/gtsam/linear/SubgraphPreconditioner.h index 5f8b5ade1..86bee2188 100644 --- a/gtsam/linear/SubgraphPreconditioner.h +++ b/gtsam/linear/SubgraphPreconditioner.h @@ -157,8 +157,6 @@ namespace gtsam { Weights weights(const GaussianFactorGraph &gfg) const; SubgraphBuilderParameters parameters_; - private: - SubgraphBuilder() {}; }; /*******************************************************************************************/