Commit 95d52bc4 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[Implicit] move operator== to cc file.

parent 1d933ee1
......@@ -274,7 +274,7 @@ namespace hpp {
const ConvexShapeContactComplement& castother = dynamic_cast<const ConvexShapeContactComplement&>(other);
if (!DifferentiableFunction::isEqual(other))
return false;
return (sibling_ != castother.sibling_);
return (*sibling_ != *(castother.sibling_));
}
private:
void impl_compute (LiegroupElementRef result, ConfigurationIn_t argument) const;
......
......@@ -114,10 +114,7 @@ namespace hpp {
class HPP_CONSTRAINTS_DLLAPI Implicit {
public:
/// Operator equality
bool operator== (const Implicit& other) const
{
return isEqual (other, true);
}
bool operator== (const Implicit& other) const;
/// Copy object and return shared pointer to copy
virtual ImplicitPtr_t copy () const;
/// Create a shared pointer to a new instance.
......
......@@ -27,6 +27,11 @@
namespace hpp {
namespace constraints {
bool Implicit::operator== (const Implicit& other) const
{
bool res = isEqual (other, true);
return res;
}
size_type computeParameterSize (const ComparisonTypes_t& comp)
{
size_type size = 0;
......
Supports Markdown
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