Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1608)

Unified Diff: mojo/edk/system/ports/name.h

Issue 1678333003: Revert of [mojo-edk] Simplify multiprocess pipe bootstrap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/ports/message.cc ('k') | mojo/edk/system/ports/node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ports/name.h
diff --git a/mojo/edk/system/ports/name.h b/mojo/edk/system/ports/name.h
index 8a9307d9cd3d118c12326e6c5f5e6d0381ad67b1..b0ad0b71c825eff67b4d5c290f5a3d41eb73f209 100644
--- a/mojo/edk/system/ports/name.h
+++ b/mojo/edk/system/ports/name.h
@@ -8,7 +8,6 @@
#include <stdint.h>
#include <ostream>
-#include <tuple>
namespace mojo {
namespace edk {
@@ -22,15 +21,9 @@
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 std::tie(a.v1, a.v2) < std::tie(b.v1, b.v2);
-}
-
std::ostream& operator<<(std::ostream& stream, const Name& name);
struct PortName : Name {
« no previous file with comments | « mojo/edk/system/ports/message.cc ('k') | mojo/edk/system/ports/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698