From 22fcec43690025693634a7b5b50132995ab13df2 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Wed, 7 Apr 2021 16:36:57 -0400 Subject: [PATCH] change KeyFormatter from boost::function to std::function --- gtsam/inference/Key.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam/inference/Key.h b/gtsam/inference/Key.h index 8b13f0b4c..1eb57d7fc 100644 --- a/gtsam/inference/Key.h +++ b/gtsam/inference/Key.h @@ -26,13 +26,14 @@ #include #include +#include #include namespace gtsam { /// Typedef for a function to format a key, i.e. to convert it to a string -typedef boost::function KeyFormatter; +typedef std::function KeyFormatter; // Helper function for DefaultKeyFormatter GTSAM_EXPORT std::string _defaultKeyFormatter(Key key);