aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-01-29 02:09:24 +0100
committerBenjamin Kramer <benny.kra@googlemail.com>2020-01-29 02:09:24 +0100
commita9bc7b83a402f2bf7d7c55ac4c9e9a2fb2b3ea13 (patch)
treed8573ecf250239ec70094ce4db9513b11f04cbb3 /llvm/lib/TextAPI/MachO/InterfaceFile.cpp
parent9a5c448a31bacc08e73fcae4636094f9b6e2be6a (diff)
downloadllvm-a9bc7b83a402f2bf7d7c55ac4c9e9a2fb2b3ea13.zip
llvm-a9bc7b83a402f2bf7d7c55ac4c9e9a2fb2b3ea13.tar.gz
llvm-a9bc7b83a402f2bf7d7c55ac4c9e9a2fb2b3ea13.tar.bz2
Another round of GCC5 fixes.
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 aae5c23..0a392a2 100644
--- a/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
+++ b/llvm/lib/TextAPI/MachO/InterfaceFile.cpp
@@ -81,7 +81,7 @@ void InterfaceFile::addUUID(const Target &Target_, StringRef UUID) {
return;
}
- UUIDs.emplace(Iter, Target_, UUID);
+ UUIDs.emplace(Iter, Target_, std::string(UUID));
return;
}