Commit b88674b8 authored by Justin Carpentier's avatar Justin Carpentier

joint/data: add operator!=

parent c3df8ed2
......@@ -138,6 +138,17 @@ namespace pinocchio
;
}
bool operator!=(const JointDataBase<Derived> & other) const
{
return derived().isNotEqual(other.derived());
}
/// \brief Default operator!= implementation
bool isNotEqual(const JointDataBase<Derived> & other) const
{
return !(derived() == other.derived());
}
protected:
/// \brief Default constructor: protected.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment