diff --git a/cpp/Pose2Config.h b/cpp/Pose2Config.h index 7a4fa7f1d..050bf5345 100644 --- a/cpp/Pose2Config.h +++ b/cpp/Pose2Config.h @@ -4,7 +4,11 @@ namespace gtsam { class Pose2Config: public std::map { + public: + + Pose2Config() {} + Pose2 get(std::string key) const { std::map::const_iterator it = find(key); if (it == end()) diff --git a/cpp/gtsam.h b/cpp/gtsam.h index c36d90ce2..dcde2ab38 100644 --- a/cpp/gtsam.h +++ b/cpp/gtsam.h @@ -174,6 +174,7 @@ class Pose2{ }; class Pose2Config{ + Pose2Config(); Pose2 get(string key) const; };