change KeyFormatter from boost::function to std::function

release/4.3a0
Varun Agrawal 2021-04-07 16:36:57 -04:00
parent d2549c6b69
commit 22fcec4369
1 changed files with 2 additions and 1 deletions

View File

@ -26,13 +26,14 @@
#include <gtsam/dllexport.h>
#include <boost/function.hpp>
#include <functional>
#include <iosfwd>
namespace gtsam {
/// Typedef for a function to format a key, i.e. to convert it to a string
typedef boost::function<std::string(Key)> KeyFormatter;
typedef std::function<std::string(Key)> KeyFormatter;
// Helper function for DefaultKeyFormatter
GTSAM_EXPORT std::string _defaultKeyFormatter(Key key);