Kill more boost headers

release/4.3a0
Frank Dellaert 2023-02-05 20:34:25 -08:00
parent 62b302bc76
commit c1b5c192f8
17 changed files with 2 additions and 21 deletions

View File

@ -21,7 +21,6 @@
#include <gtsam/base/Manifold.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/OptionalJacobian.h>
#include <boost/concept/assert.hpp>
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
#include <boost/serialization/nvp.hpp>
#endif

View File

@ -21,7 +21,6 @@
#include <gtsam/geometry/Rot3.h>
#include <gtsam/geometry/SO3.h>
#include <boost/math/constants/constants.hpp>
#include <cmath>
#include <random>

View File

@ -24,7 +24,6 @@
#include <gtsam/geometry/Rot3.h>
#include <gtsam/geometry/SO3.h>
#include <boost/math/constants/constants.hpp>
#include <cmath>
using namespace std;

View File

@ -20,7 +20,6 @@
#ifdef GTSAM_USE_QUATERNIONS
#include <gtsam/geometry/Rot3.h>
#include <boost/math/constants/constants.hpp>
#include <cmath>
using namespace std;

View File

@ -18,8 +18,6 @@
// \callgraph
#pragma once
#include <boost/range.hpp>
#include <gtsam/inference/Key.h>
namespace gtsam {

View File

@ -18,7 +18,6 @@
#pragma once
#include <gtsam/global_includes.h>
#include <boost/lexical_cast.hpp>
#include <exception>
namespace gtsam {

View File

@ -27,8 +27,6 @@
#include <gtsam/inference/Ordering.h>
#include <boost/algorithm/string.hpp>
#include <stdexcept>
#include <iostream>
#include <iomanip>

View File

@ -17,7 +17,6 @@
*/
#pragma once
#include <boost/lexical_cast.hpp>
#include <exception>
#include <gtsam/inference/Key.h>

View File

@ -21,7 +21,6 @@
#include <gtsam/nonlinear/ExpressionFactor.h>
#include <gtsam/geometry/BearingRange.h>
#include <boost/concept/assert.hpp>
namespace gtsam {

View File

@ -21,7 +21,6 @@
#pragma once
#include <gtsam/geometry/Rot3.h>
#include <gtsam/inference/graph.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/VectorValues.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>

View File

@ -32,7 +32,6 @@
#include <string>
#include <fstream>
#include <iostream>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace gtsam;

View File

@ -27,7 +27,6 @@
#include <fstream>
#include <iostream>
#include <random>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace gtsam;

View File

@ -5,7 +5,6 @@
* @author Alex Cunningham
*/
#include <boost/mpl/assert.hpp>
#include <iostream>
#include "gtsam/base/OptionalJacobian.h"
#include "gtsam/base/Vector.h"

View File

@ -6,7 +6,6 @@
* Description: generic graph types used in partitioning
*/
#include <iostream>
#include <boost/lexical_cast.hpp>
#include <gtsam/base/DSFVector.h>
@ -464,9 +463,9 @@ namespace gtsam { namespace partition {
}
if (minFoundConstraintsPerCamera < minNrConstraintsPerCamera)
throw runtime_error("checkSingularity:minConstraintsPerCamera < " + boost::lexical_cast<string>(minFoundConstraintsPerCamera));
throw runtime_error("checkSingularity:minConstraintsPerCamera < " + std::to_string(minFoundConstraintsPerCamera));
if (minFoundConstraintsPerLandmark < minNrConstraintsPerLandmark)
throw runtime_error("checkSingularity:minConstraintsPerLandmark < " + boost::lexical_cast<string>(minFoundConstraintsPerLandmark));
throw runtime_error("checkSingularity:minConstraintsPerLandmark < " + std::to_string(minFoundConstraintsPerLandmark));
}
}} // namespace

View File

@ -30,7 +30,6 @@
#include <gtsam/base/numericalDerivative.h>
#include <functional>
#include <boost/iterator/counting_iterator.hpp>
using namespace std;
using namespace gtsam;

View File

@ -17,7 +17,6 @@
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <boost/math/constants/constants.hpp>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/base/lieProxies.h>
#include <gtsam/geometry/Point3.h>

View File

@ -21,7 +21,6 @@
#include <gtsam/base/Testable.h>
#include <gtsam/base/numericalDerivative.h>
#include <boost/bind/bind.hpp>
#include <CppUnitLite/TestHarness.h>
#include <iostream>