[libcxx][test] include <algorithm> for is_permutation
authorCasey Carter <Casey@Carter.net>
Fri, 12 Jun 2020 18:53:53 +0000 (11:53 -0700)
committerCasey Carter <Casey@Carter.net>
Fri, 12 Jun 2020 18:54:03 +0000 (11:54 -0700)
libcxx/test/std/containers/unord/unord.map/erase_if.pass.cpp
libcxx/test/std/containers/unord/unord.multimap/erase_if.pass.cpp
libcxx/test/std/containers/unord/unord.multiset/erase_if.pass.cpp
libcxx/test/std/containers/unord/unord.set/erase_if.pass.cpp

index 4b4fa42..54a8b9b 100644 (file)
@@ -14,6 +14,7 @@
 //   erase_if(unordered_map<Key, T, Hash, Pred, Allocator>& c, Predicate pred);
 
 #include <unordered_map>
+#include <algorithm>
 
 #include "test_macros.h"
 #include "test_allocator.h"
index cc04fdf..2da3b17 100644 (file)
@@ -14,6 +14,7 @@
 //   erase_if(unordered_multimap<Key, T, Hash, Pred, Allocator>& c, Predicate pred);
 
 #include <unordered_map>
+#include <algorithm>
 
 #include "test_macros.h"
 #include "test_allocator.h"
index 0f4b9f9..a7fe88d 100644 (file)
@@ -14,6 +14,7 @@
 //   erase_if(unordered_multiset<T, Hash, Compare, Allocator>& c, Predicate pred);
 
 #include <unordered_set>
+#include <algorithm>
 
 #include "test_macros.h"
 #include "test_allocator.h"
index 87f33bf..a2c7325 100644 (file)
@@ -14,6 +14,7 @@
 //   erase_if(unordered_set<T, Hash, Compare, Allocator>& c, Predicate pred);
 
 #include <unordered_set>
+#include <algorithm>
 
 #include "test_macros.h"
 #include "test_allocator.h"