Fix build broken by changes in StringMatcher interface r290213
llvm-svn: 290231
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index a3484c0..a377af3 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -144,7 +144,7 @@
struct InputSectionDescription : BaseCommand {
InputSectionDescription(StringRef FilePattern)
- : BaseCommand(InputSectionKind), FilePat({FilePattern}) {}
+ : BaseCommand(InputSectionKind), FilePat(FilePattern) {}
static bool classof(const BaseCommand *C);