summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/MC/XCOFFObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/XCOFFObjectWriter.cpp b/llvm/lib/MC/XCOFFObjectWriter.cpp
index 2868972f71c..f2c054f65cc 100644
--- a/llvm/lib/MC/XCOFFObjectWriter.cpp
+++ b/llvm/lib/MC/XCOFFObjectWriter.cpp
@@ -165,7 +165,7 @@ class XCOFFObjectWriter : public MCObjectWriter {
// All the XCOFF sections, in the order they will appear in the section header
// table.
- std::array<Section *const, 2> Sections{&Text, &BSS};
+ std::array<Section *const, 2> Sections = {&Text, &BSS};
CsectGroup &getCsectGroup(const MCSectionXCOFF *MCSec);
OpenPOWER on IntegriCloud