aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-01-29 01:49:54 +0100
committerBenjamin Kramer <benny.kra@googlemail.com>2020-01-29 01:52:48 +0100
commit735f90fe42e55935035d842752e01361b5216c11 (patch)
treee20a6fee63c10dab20447b7e748dbe6de0540bf9 /llvm/lib/TextAPI/MachO/InterfaceFile.cpp
parent0eb64fcb89a5b236962b344cc506873ebbf734de (diff)
downloadllvm-735f90fe42e55935035d842752e01361b5216c11.zip
llvm-735f90fe42e55935035d842752e01361b5216c11.tar.gz
llvm-735f90fe42e55935035d842752e01361b5216c11.tar.bz2
Fix one round of implicit conversions found by g++5.
Diffstat (limited to 'llvm/lib/TextAPI/MachO/InterfaceFile.cpp')
-rw-r--r--llvm/lib/TextAPI/MachO/InterfaceFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TextAPI/MachO/InterfaceFile.cpp b/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
index 9f08456..aae5c23 100644
--- a/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
+++ b/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
@@ -67,7 +67,7 @@ void InterfaceFile::addParentUmbrella(const Target &Target_, StringRef Parent) {
return;
}
- ParentUmbrellas.emplace(Iter, Target_, Parent);
+ ParentUmbrellas.emplace(Iter, Target_, std::string(Parent));
return;
}