Skip to content

Commit 42b9a69

Browse files
author
git apple-llvm automerger
committed
Merge commit 'df2dca7a73db' from llvm.org/main into next
2 parents dcace69 + df2dca7 commit 42b9a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/MC/MCELFStreamer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class MCELFStreamer : public MCObjectStreamer {
105105
unsigned IntValue;
106106
std::string StringValue;
107107
AttributeItem(Types Ty, unsigned Tg, unsigned IV, std::string SV)
108-
: Type(Ty), Tag(Tg), IntValue(IV), StringValue(SV) {}
108+
: Type(Ty), Tag(Tg), IntValue(IV), StringValue(std::move(SV)) {}
109109
};
110110

111111
/// ELF object attributes subsection support

0 commit comments

Comments
 (0)