Index: mojo/edk/system/ports/node.cc |
diff --git a/mojo/edk/system/ports/node.cc b/mojo/edk/system/ports/node.cc |
index 266ee84b4f5d9ce558ec7061a9afcfb45f0ca86a..3324397f76ad1373bcc4a2a5e9bc3f1e29dac684 100644 |
--- a/mojo/edk/system/ports/node.cc |
+++ b/mojo/edk/system/ports/node.cc |
@@ -6,6 +6,8 @@ |
#include <string.h> |
+#include <utility> |
+ |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
#include "base/synchronization/lock.h" |
@@ -269,7 +271,7 @@ int Node::GetMessageIf(const PortRef& port_ref, |
if (!CanAcceptMoreMessages(port)) |
return ERROR_PORT_PEER_CLOSED; |
- port->message_queue.GetNextMessageIf(selector, message); |
+ port->message_queue.GetNextMessageIf(std::move(selector), message); |
} |
// Allow referenced ports to trigger PortStatusChanged calls. |