From f8cb99cd0f70c4d4b4402b4d0f259369a5f77632 Mon Sep 17 00:00:00 2001 From: Bence Magyar Date: Wed, 28 Sep 2016 09:54:02 +0100 Subject: [PATCH] Add smart ptr typedefs (#153) --- urdf/include/urdf/model.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/urdf/include/urdf/model.h b/urdf/include/urdf/model.h index 4876f07..17a69e4 100644 --- a/urdf/include/urdf/model.h +++ b/urdf/include/urdf/model.h @@ -41,6 +41,8 @@ #include #include #include +#include +#include namespace urdf{ @@ -59,6 +61,10 @@ public: bool initString(const std::string& xmlstring); }; +typedef boost::shared_ptr ModelSharedPtr; +typedef boost::shared_ptr ModelConstSharedPtr; +typedef boost::weak_ptr ModelWeakPtr; + } #endif