Remove unused boost::assign headers

release/4.3a0
Frank Dellaert 2023-01-07 23:58:35 -08:00
parent 4e078e41f1
commit 9b5321ce03
18 changed files with 1 additions and 46 deletions

View File

@ -18,9 +18,6 @@
#include <gtsam/geometry/CalibratedCamera.h>
#include <gtsam/slam/dataset.h>
#include <boost/assign/std/vector.hpp>
using namespace boost::assign;
using namespace std;
using namespace gtsam;

View File

@ -18,13 +18,11 @@
#include <gtsam/global_includes.h>
#include <gtsam/base/Matrix.h>
#include <boost/assign/list_of.hpp>
#include <map>
#include <iostream>
using namespace std;
using namespace gtsam;
using boost::assign::list_of;
#ifdef GTSAM_USE_TBB

View File

@ -21,7 +21,6 @@
#include <gtsam/discrete/DiscreteValues.h>
#include <gtsam_unstable/dllexport.h>
#include <boost/assign.hpp>
#include <boost/format.hpp>
#include <map>

View File

@ -6,10 +6,6 @@
* Description: unit tests for NestedDissection
*/
#include <boost/assign/std/list.hpp> // for operator +=
#include <boost/assign/std/set.hpp> // for operator +=
#include <boost/assign/std/vector.hpp> // for operator +=
using namespace boost::assign;
#include <boost/make_shared.hpp>
#include <CppUnitLite/TestHarness.h>

View File

@ -7,10 +7,6 @@
#include <gtsam_unstable/slam/DummyFactor.h>
#include <boost/assign/list_of.hpp>
using namespace boost::assign;
namespace gtsam {
/* ************************************************************************* */

View File

@ -17,7 +17,6 @@
#include <CppUnitLite/TestHarness.h>
#include <boost/assign/std/vector.hpp>
#include <boost/filesystem.hpp>
#include <iostream>
@ -27,7 +26,6 @@
using namespace std;
using namespace gtsam;
using namespace boost::assign;
namespace fs = boost::filesystem;
#ifdef TOPSRCDIR
static string topdir = TOPSRCDIR;

View File

@ -25,14 +25,12 @@
#include <gtsam_unstable/slam/ProjectionFactorRollingShutter.h>
#include <gtsam_unstable/slam/SmartProjectionPoseFactorRollingShutter.h>
#include <boost/assign/std/map.hpp>
#include <iostream>
#include "gtsam/slam/tests/smartFactorScenarios.h"
#define DISABLE_TIMING
using namespace gtsam;
using namespace boost::assign;
using namespace std::placeholders;
static const double rankTol = 1.0;

View File

@ -22,7 +22,6 @@
#include <gtsam/base/DSFMap.h>
#include <boost/format.hpp>
#include <boost/assign/std/vector.hpp>
#include <fstream>
#include <iostream>
@ -32,7 +31,6 @@
using namespace std;
using namespace gtsam;
using namespace boost::assign;
using boost::format;
int main(int argc, char* argv[]) {

View File

@ -29,7 +29,6 @@
#include <gtsam/linear/GaussianBayesTree.h>
#include <gtsam/base/numericalDerivative.h>
#include <boost/assign/list_of.hpp> // for 'list_of()'
#include <functional>
#include <boost/iterator/counting_iterator.hpp>

View File

@ -22,8 +22,6 @@
#include <gtsam/linear/GaussianISAM.h>
#include <gtsam/inference/Ordering.h>
#include <boost/assign/std/list.hpp> // for operator +=
using namespace boost::assign;
#include <boost/range/adaptor/map.hpp>
namespace br { using namespace boost::adaptors; using namespace boost::range; }

View File

@ -29,10 +29,6 @@
#undef CHECK
#include <CppUnitLite/TestHarness.h>
#include <boost/assign/list_of.hpp>
using boost::assign::list_of;
using boost::assign::map_list_of;
using namespace std;
using namespace gtsam;

View File

@ -32,10 +32,6 @@
#include <CppUnitLite/TestHarness.h>
#include <boost/assign/std/list.hpp>
#include <boost/assign/std/set.hpp>
using namespace boost::assign;
/*STL/C++*/
#include <iostream>

View File

@ -33,8 +33,6 @@
#include <boost/range/adaptor/map.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/assign/std/list.hpp> // for operator +=
using namespace boost::assign;
using boost::adaptors::map_values;
#include <iostream>

View File

@ -27,8 +27,6 @@
#include <CppUnitLite/TestHarness.h>
#include <boost/shared_ptr.hpp>
#include <boost/assign/std/list.hpp> // for operator +=
using namespace boost::assign;
#include <iostream>
#include <fstream>

View File

@ -28,9 +28,6 @@
#include <CppUnitLite/TestHarness.h>
#include <boost/assign/std/list.hpp>
using namespace boost::assign;
using namespace std;
using namespace gtsam;

View File

@ -22,7 +22,6 @@
using namespace std;
#include <boost/tuple/tuple.hpp>
#include <boost/assign/list_of.hpp>
#include <gtsam/base/Matrix.h>
#include <gtsam/linear/JacobianFactor.h>
@ -31,7 +30,6 @@ using namespace std;
#include <gtsam/linear/NoiseModel.h>
using namespace gtsam;
using namespace boost::assign;
static const Key _x1_=1, _x2_=2, _l1_=3;
@ -109,7 +107,7 @@ int main()
for(int i = 0; i < n; i++)
boost::tie(conditional, factor) =
JacobianFactor(combined).eliminate(Ordering(boost::assign::list_of(_x2_)));
JacobianFactor(combined).eliminate(Ordering{_x2_});
long timeLog2 = clock();
double seconds = (double)(timeLog2-timeLog)/CLOCKS_PER_SEC;

View File

@ -16,14 +16,12 @@
*/
#include <time.h>
#include <boost/assign/std/list.hpp> // for operator += in Ordering
#include <CppUnitLite/TestHarness.h>
#include <tests/smallExample.h>
using namespace std;
using namespace gtsam;
using namespace example;
using namespace boost::assign;
/* ************************************************************************* */
// Create a Kalman smoother for t=1:T and optimize

View File

@ -14,12 +14,9 @@
#include <gtsam/geometry/Cal3Bundler.h>
#include <gtsam/geometry/PinholePose.h>
#include <boost/assign/list_of.hpp>
#include <boost/assign/std/vector.hpp>
#include <fstream>
using namespace std;
using namespace boost::assign;
using namespace gtsam;
#define SLOW