Skip to content
Snippets Groups Projects
Commit 49e720b7 authored by jcarpent's avatar jcarpent
Browse files

[Parsers] Fix pointer type

parent 879d4986
No related branches found
No related tags found
No related merge requests found
......@@ -210,18 +210,18 @@ namespace se3
* @return Either the first collision or visual
*/
template<typename T>
inline const URDF_SHARED_PTR(T)
inline URDF_SHARED_PTR(const T)
getLinkGeometry(const ::urdf::LinkConstSharedPtr link);
template<>
inline const ::urdf::CollisionSharedPtr
inline ::urdf::CollisionConstSharedPtr
getLinkGeometry< ::urdf::Collision>(const ::urdf::LinkConstSharedPtr link)
{
return link->collision;
}
template<>
inline const ::urdf::VisualSharedPtr
inline ::urdf::VisualConstSharedPtr
getLinkGeometry< ::urdf::Visual>(const ::urdf::LinkConstSharedPtr link)
{
return link->visual;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment