diff --git a/gtsam/nonlinear/Values.h b/gtsam/nonlinear/Values.h index bdd1739da..76bcfdfb0 100644 --- a/gtsam/nonlinear/Values.h +++ b/gtsam/nonlinear/Values.h @@ -84,6 +84,9 @@ namespace gtsam { /// A shared_ptr to this class typedef boost::shared_ptr shared_ptr; + /// A const shared_ptr to this class + typedef boost::shared_ptr const_shared_ptr; + /// A key-value pair, which you get by dereferencing iterators struct KeyValuePair { const Key key; ///< The key