diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:01:25 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:01:25 +0000 |
| commit | d8e91e46262bc44006913e6796843909f1ac7bcd (patch) | |
| tree | 7d0c143d9b38190e0fa0180805389da22cd834c5 /unittests/ADT/StringMapTest.cpp | |
| parent | b7eb8e35e481a74962664b63dfb09483b200209a (diff) | |
Notes
Diffstat (limited to 'unittests/ADT/StringMapTest.cpp')
| -rw-r--r-- | unittests/ADT/StringMapTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/ADT/StringMapTest.cpp b/unittests/ADT/StringMapTest.cpp index 1f5c4f0316420..a44bbbfee0951 100644 --- a/unittests/ADT/StringMapTest.cpp +++ b/unittests/ADT/StringMapTest.cpp @@ -279,7 +279,7 @@ TEST_F(StringMapTest, IterMapKeys) { Map["D"] = 3; auto Keys = to_vector<4>(Map.keys()); - llvm::sort(Keys.begin(), Keys.end()); + llvm::sort(Keys); SmallVector<StringRef, 4> Expected = {"A", "B", "C", "D"}; EXPECT_EQ(Expected, Keys); @@ -293,7 +293,7 @@ TEST_F(StringMapTest, IterSetKeys) { Set.insert("D"); auto Keys = to_vector<4>(Set.keys()); - llvm::sort(Keys.begin(), Keys.end()); + llvm::sort(Keys); SmallVector<StringRef, 4> Expected = {"A", "B", "C", "D"}; EXPECT_EQ(Expected, Keys); |
