| Index: mojo/edk/system/ports/name.h
|
| diff --git a/mojo/edk/system/ports/name.h b/mojo/edk/system/ports/name.h
|
| index b0ad0b71c825eff67b4d5c290f5a3d41eb73f209..62eab3a1b837cea4e4895fecf98d0a2a5682d26b 100644
|
| --- a/mojo/edk/system/ports/name.h
|
| +++ b/mojo/edk/system/ports/name.h
|
| @@ -21,9 +21,15 @@ struct Name {
|
| inline bool operator==(const Name& a, const Name& b) {
|
| return a.v1 == b.v1 && a.v2 == b.v2;
|
| }
|
| +
|
| inline bool operator!=(const Name& a, const Name& b) {
|
| return !(a == b);
|
| }
|
| +
|
| +inline bool operator<(const Name& a, const Name& b) {
|
| + return a.v1 < b.v1 || (a.v1 == b.v1 && a.v2 < b.v2);
|
| +}
|
| +
|
| std::ostream& operator<<(std::ostream& stream, const Name& name);
|
|
|
| struct PortName : Name {
|
|
|