Was missing including boost version header in timing.h

release/4.3a0
Richard Roberts 2012-12-11 19:14:37 +00:00
parent 7851d5553b
commit 0fa90d2cd4
1 changed files with 2 additions and 3 deletions

View File

@ -20,12 +20,11 @@
#include <string>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/version.hpp>
#include <gtsam/base/types.h>
#include <gtsam/base/FastMap.h>
// Enabling the new Boost timers introduces dependencies on other Boost
// libraries so this is disabled for now until we modify the build scripts
// to link each component or MATLAB wrapper with only the libraries it needs.
// Automatically use the new Boost timers if version is recent enough.
#if BOOST_VERSION >= 104800
#define GTSAM_USING_NEW_BOOST_TIMERS
#endif