From 193e068cee90bc522b87937b07f528c9bde741e4 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sun, 2 Jan 2011 04:48:50 +0000 Subject: [PATCH] Added missing shared_ptr typedef to NonlinearFactorGraph --- gtsam/nonlinear/NonlinearFactorGraph.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam/nonlinear/NonlinearFactorGraph.h b/gtsam/nonlinear/NonlinearFactorGraph.h index bdd27442a..fcefbae9b 100644 --- a/gtsam/nonlinear/NonlinearFactorGraph.h +++ b/gtsam/nonlinear/NonlinearFactorGraph.h @@ -44,7 +44,8 @@ namespace gtsam { public: typedef FactorGraph > Base; - typedef typename boost::shared_ptr > sharedFactor; + typedef boost::shared_ptr > shared_ptr; + typedef boost::shared_ptr > sharedFactor; /** print just calls base class */ void print(const std::string& str = "NonlinearFactorGraph: ") const;