aboutsummaryrefslogtreecommitdiff
path: root/lld/MachO/Sections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/MachO/Sections.cpp')
-rw-r--r--lld/MachO/Sections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/MachO/Sections.cpp b/lld/MachO/Sections.cpp
index a27d902..47169c7 100644
--- a/lld/MachO/Sections.cpp
+++ b/lld/MachO/Sections.cpp
@@ -27,7 +27,7 @@ bool isCodeSection(StringRef name, StringRef segName, uint32_t flags) {
if (segName == segment_names::text)
return StringSwitch<bool>(name)
- .Cases(section_names::textCoalNt, section_names::staticInit, true)
+ .Cases({section_names::textCoalNt, section_names::staticInit}, true)
.Default(false);
return false;