diff options
Diffstat (limited to 'dev-ros/urdf/files/forward_decl.patch')
-rw-r--r-- | dev-ros/urdf/files/forward_decl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-ros/urdf/files/forward_decl.patch b/dev-ros/urdf/files/forward_decl.patch new file mode 100644 index 000000000000..8aef13eb92d4 --- /dev/null +++ b/dev-ros/urdf/files/forward_decl.patch @@ -0,0 +1,17 @@ +Index: urdf/urdfdom_compatibility.h.in +=================================================================== +--- urdf.orig/urdfdom_compatibility.h.in ++++ urdf/urdfdom_compatibility.h.in +@@ -85,10 +85,12 @@ URDF_TYPEDEF_CLASS_POINTER(Model); + #include <urdf_world/types.h> + + namespace urdf { ++class ModelInterface; + typedef std::shared_ptr<ModelInterface> ModelInterfaceSharedPtr; + typedef std::shared_ptr<const ModelInterface> ModelInterfaceConstSharedPtr; + typedef std::weak_ptr<ModelInterface> ModelInterfaceWeakPtr; + ++class Model; + typedef std::shared_ptr<Model> ModelSharedPtr; + typedef std::shared_ptr<const Model> ModelConstSharedPtr; + typedef std::weak_ptr<Model> ModelWeakPtr; |