aboutsummaryrefslogtreecommitdiff
path: root/brep/package.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'brep/package.cxx')
-rw-r--r--brep/package.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/brep/package.cxx b/brep/package.cxx
index cb7ab46..7bdc3c7 100644
--- a/brep/package.cxx
+++ b/brep/package.cxx
@@ -37,6 +37,18 @@ namespace brep
return o;
}
+ bool
+ operator== (const dependency& x, const dependency& y)
+ {
+ return x.name () == y.name () && x.constraint == y.constraint;
+ }
+
+ bool
+ operator!= (const dependency& x, const dependency& y)
+ {
+ return !(x == y);
+ }
+
// package
//
package::