pkgsrc/net/xorp/patches/patch-libxorp_asnum.hh
joerg 3d75da359e Don't use rel_ops, it can create ambiguity for types that define more
than the minimal operator set. Rename out_of_range.
2013-06-13 21:48:09 +00:00

12 lines
395 B
C++

$NetBSD: patch-libxorp_asnum.hh,v 1.1 2013/06/13 21:48:09 joerg Exp $
--- libxorp/asnum.hh.orig 2013-06-13 18:35:47.000000000 +0000
+++ libxorp/asnum.hh
@@ -209,6 +209,7 @@ public:
* right-hand operand.
*/
bool operator==(const AsNum& x) const { return _as == x._as; }
+ bool operator!=(const AsNum& x) const { return _as != x._as; }
/**
* Less-Than Operator