diff options
author | Zachary Turner <zturner@google.com> | 2017-03-17 00:28:23 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-17 00:28:23 +0000 |
commit | 3735006063d321f53f828dc2432fe6e78a7532e8 (patch) | |
tree | a4d2c0ff92c4c59be2b770ffcf440543cebf770f /llvm/unittests/Support/Path.cpp | |
parent | 8fb09e3ea7d5df3c8ce5e1ddcad13f4d9d383e32 (diff) | |
download | bcm5719-llvm-3735006063d321f53f828dc2432fe6e78a7532e8.tar.gz bcm5719-llvm-3735006063d321f53f828dc2432fe6e78a7532e8.zip |
SmallString doesn't have implicit conversion from const char*.
llvm-svn: 298019
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-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); |