summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/getdents.cc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-23 13:56:49 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-23 13:58:42 -0700
commit15da310efaad5574ca7b0fe03cb76919fdffc5ce (patch)
tree2e00e81cac954327b7e99db8f9d5203409fdfa86 /test/syscalls/linux/getdents.cc
parentfc26b3764ecfe4f5a5eb7826a9fb46626738b391 (diff)
Internal change.
PiperOrigin-RevId: 322859907
Diffstat (limited to 'test/syscalls/linux/getdents.cc')
-rw-r--r--test/syscalls/linux/getdents.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/syscalls/linux/getdents.cc b/test/syscalls/linux/getdents.cc
index b147d6181..b040cdcf7 100644
--- a/test/syscalls/linux/getdents.cc
+++ b/test/syscalls/linux/getdents.cc
@@ -32,6 +32,7 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+#include "absl/container/node_hash_set.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "test/util/eventfd_util.h"
@@ -393,7 +394,7 @@ TYPED_TEST(GetdentsTest, ProcSelfFd) {
// Make the buffer very small since we want to iterate.
typename TestFixture::DirentBufferType dirents(
2 * sizeof(typename TestFixture::LinuxDirentType));
- std::unordered_set<int> prev_fds;
+ absl::node_hash_set<int> prev_fds;
while (true) {
dirents.Reset();
int rv;