Removed unnecessary headers, now only included when GTSAM_MAGIC_KEY is defined
parent
e523b148cf
commit
1f0de30a62
|
|
@ -12,8 +12,9 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <boost/format.hpp>
|
#include <boost/format.hpp>
|
||||||
#include <boost/serialization/serialization.hpp>
|
#include <boost/serialization/serialization.hpp>
|
||||||
|
#ifdef GTSAM_MAGIC_KEY
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
#include <boost/integer_traits.hpp>
|
#endif
|
||||||
|
|
||||||
#include "Testable.h"
|
#include "Testable.h"
|
||||||
|
|
||||||
|
|
@ -36,7 +37,7 @@ namespace gtsam {
|
||||||
|
|
||||||
// Constructors:
|
// Constructors:
|
||||||
|
|
||||||
TypedSymbol():j_(boost::integer_traits<size_t>::const_max) {}
|
TypedSymbol():j_(0) {}
|
||||||
TypedSymbol(size_t j):j_(j) {}
|
TypedSymbol(size_t j):j_(j) {}
|
||||||
|
|
||||||
// Get stuff:
|
// Get stuff:
|
||||||
|
|
@ -148,7 +149,7 @@ namespace gtsam {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/** Default constructor */
|
/** Default constructor */
|
||||||
Symbol() : c_(0), j_(boost::integer_traits<size_t>::const_max) {}
|
Symbol() : c_(0), j_(0) {}
|
||||||
|
|
||||||
/** Copy constructor */
|
/** Copy constructor */
|
||||||
Symbol(const Symbol& key) : c_(key.c_), j_(key.j_) {}
|
Symbol(const Symbol& key) : c_(key.c_), j_(key.j_) {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue