Index: trunk/src/mojo/services/view_manager/ids.h |
=================================================================== |
--- trunk/src/mojo/services/view_manager/ids.h (revision 266161) |
+++ trunk/src/mojo/services/view_manager/ids.h (working copy) |
@@ -23,10 +23,6 @@ |
other.node_id == node_id; |
} |
- bool operator!=(const NodeId& other) const { |
- return !(*this == other); |
- } |
- |
uint16_t connection_id; |
uint16_t node_id; |
}; |
@@ -43,10 +39,6 @@ |
other.view_id == view_id; |
} |
- bool operator!=(const ViewId& other) const { |
- return !(*this == other); |
- } |
- |
uint16_t connection_id; |
uint16_t view_id; |
}; |
@@ -72,10 +64,6 @@ |
return ViewId(FirstIdFromTransportId(id), SecondIdFromTransportId(id)); |
} |
-inline uint32_t ViewIdToTransportId(const ViewId& id) { |
- return (id.connection_id << 16) | id.view_id; |
-} |
- |
} // namespace view_manager |
} // namespace services |
} // namespace mojo |