summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/socket_unix_non_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/socket_unix_non_stream.cc')
-rw-r--r--test/syscalls/linux/socket_unix_non_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_unix_non_stream.cc b/test/syscalls/linux/socket_unix_non_stream.cc
index 264b7fe6a..a84939011 100644
--- a/test/syscalls/linux/socket_unix_non_stream.cc
+++ b/test/syscalls/linux/socket_unix_non_stream.cc
@@ -106,7 +106,7 @@ PosixErrorOr<std::vector<Mapping>> CreateFragmentedRegion(const int size,
// The mappings above have taken ownership of the region.
region.release();
- return pages;
+ return std::move(pages);
}
// A contiguous iov that is heavily fragmented in FileMem can still be sent