Commit 5d831b0f authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[ObstacleUser] Move method clear from ConfigValidations to ObstacleUser.

parent 7641d248
......@@ -51,9 +51,6 @@ namespace hpp {
/// Return the number of config validations
size_type numberConfigValidations() const;
// Clear the vector of config validations
void clear ();
protected:
ConfigValidations ();
}; // class ConfigValidation
......
......@@ -142,6 +142,12 @@ namespace hpp {
}
}
// Clear the vector of config validations
void clear ()
{
validations_.clear ();
}
protected:
typedef Derived value_t;
typedef std::vector<value_t> values_t;
......
......@@ -51,11 +51,6 @@ namespace hpp {
return (size_type) validations_.size ();
}
void ConfigValidations::clear ()
{
validations_.clear ();
}
ConfigValidations::ConfigValidations ()
{
}
......
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