Skip to content

Commit

Permalink
remove urdf::reinterpret_pointer_cast
Browse files Browse the repository at this point in the history
I don't know if it's used anywhere
and there's no std:: version of the function
so let's just redact it.
  • Loading branch information
scpeters committed Feb 13, 2016
1 parent dd546d9 commit ec5f58f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions urdf_model/include/urdf_model/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ boost::shared_ptr<T> dynamic_pointer_cast(boost::shared_ptr<U> const & r)
return boost::dynamic_pointer_cast<T>(r);
}

template<class T, class U>
boost::shared_ptr<T> reinterpret_pointer_cast(boost::shared_ptr<U> const & r)
{
return boost::reinterpret_pointer_cast<T>(r);
}

template<class T, class U>
boost::shared_ptr<T> static_pointer_cast(boost::shared_ptr<U> const & r)
{
Expand Down

0 comments on commit ec5f58f

Please sign in to comment.