summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/unord
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-11 04:00:26 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-11 04:00:26 +0000
commitdc43d75ac0dd0bdd83ceed7436894dd8e3e79561 (patch)
treee5d0c3007ae2c11c842fe6e01aba849ad7926a72 /libcxx/test/std/containers/unord
parent1286bc577f70c5b8caa83b2440484fbbb3b15a6e (diff)
downloadbcm5719-llvm-dc43d75ac0dd0bdd83ceed7436894dd8e3e79561.tar.gz
bcm5719-llvm-dc43d75ac0dd0bdd83ceed7436894dd8e3e79561.zip
Fix copy/paste errors introduced in r289358
llvm-svn: 289359
Diffstat (limited to 'libcxx/test/std/containers/unord')
-rw-r--r--libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp b/libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
index 9c4e3946b67..0f898f1b73e 100644
--- a/libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
+++ b/libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
@@ -35,8 +35,8 @@ int main()
typedef test_allocator<std::pair<const int, std::string> > Alloc;
typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
typedef std::pair<int, std::string> P;
- C c1(0, Hash(1), Compare(1), Alloc(1));
- C c2(0, Hash(2), Compare(2), Alloc(2));
+ C c1(0, Hash(1), Compare(1), Alloc(1, 1));
+ C c2(0, Hash(2), Compare(2), Alloc(1, 2));
c2.max_load_factor(2);
c1.swap(c2);
@@ -75,8 +75,8 @@ int main()
P(70, "seventy"),
P(80, "eighty"),
};
- C c1(0, Hash(1), Compare(1), Alloc(1));
- C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
+ C c1(0, Hash(1), Compare(1), Alloc(1, 1));
+ C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(1, 2));
c2.max_load_factor(2);
c1.swap(c2);
@@ -121,8 +121,8 @@ int main()
P(1, "four"),
P(2, "four"),
};
- C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
- C c2(0, Hash(2), Compare(2), Alloc(2));
+ C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1, 1));
+ C c2(0, Hash(2), Compare(2), Alloc(1, 2));
c2.max_load_factor(2);
c1.swap(c2);
@@ -176,8 +176,8 @@ int main()
P(70, "seventy"),
P(80, "eighty"),
};
- C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
- C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
+ C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1, 1));
+ C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(1, 2));
c2.max_load_factor(2);
c1.swap(c2);
OpenPOWER on IntegriCloud