remove deprecated std::unary_function
This commit is contained in:
@@ -39,8 +39,10 @@ struct ConstraintIds {
|
||||
Sketcher::ConstraintType Type;
|
||||
};
|
||||
|
||||
struct Constraint_Equal : public std::unary_function<const struct Sketcher::ConstraintIds&, bool>
|
||||
struct Constraint_Equal
|
||||
{
|
||||
typedef ConstraintIds argument_type;
|
||||
typedef bool result_type;
|
||||
struct Sketcher::ConstraintIds c;
|
||||
Constraint_Equal(const ConstraintIds& c) : c(c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user