diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/unittests/Support/Path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index 042cd1eef08..edda1cd6d24 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -1064,8 +1064,8 @@ TEST(Support, NormalizePath) { Tests.emplace_back("a\\", "a\\", "a/"); for (auto &T : Tests) { - SmallString<64> Win = std::get<0>(T); - SmallString<64> Posix = Win; + SmallString<64> Win(std::get<0>(T)); + SmallString<64> Posix(Win); path::native(Win, path::Style::windows); path::native(Posix, path::Style::posix); EXPECT_EQ(std::get<1>(T), Win); |

