Index: components/mus/ws/ids.h |
diff --git a/components/mus/ws/ids.h b/components/mus/ws/ids.h |
index 8ae41c9ce352d3a08c6e9b232f9c4ca793790829..3c814d0bde691b7505f3442e0928219d88cbdbc7 100644 |
--- a/components/mus/ws/ids.h |
+++ b/components/mus/ws/ids.h |
@@ -4,8 +4,6 @@ |
#ifndef COMPONENTS_MUS_WS_IDS_H_ |
#define COMPONENTS_MUS_WS_IDS_H_ |
- |
-#include <tuple> |
#include "components/mus/common/types.h" |
#include "components/mus/common/util.h" |
@@ -31,8 +29,10 @@ |
bool operator!=(const WindowId& other) const { return !(*this == other); } |
bool operator<(const WindowId& other) const { |
- return std::tie(connection_id, window_id) < |
- std::tie(other.connection_id, other.window_id); |
+ if (connection_id == other.connection_id) |
+ return window_id < other.window_id; |
+ |
+ return connection_id < other.connection_id; |
} |
ConnectionSpecificId connection_id; |