From e0274dab59be16377a86c72d19bdbc27bc7c3f8f Mon Sep 17 00:00:00 2001 From: Viorela Ila Date: Thu, 10 Dec 2009 04:12:41 +0000 Subject: [PATCH] Pose2Config constructor --- cpp/Pose2Config.h | 4 ++++ cpp/gtsam.h | 1 + 2 files changed, 5 insertions(+) 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; };