summaryrefslogtreecommitdiffstats
path: root/lld/ELF/SyntheticSections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/SyntheticSections.cpp')
-rw-r--r--lld/ELF/SyntheticSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 7e12dfce921..04a0f5514f3 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -221,7 +221,7 @@ MipsOptionsSection<ELFT> *MipsOptionsSection<ELFT>::create() {
};
if (Create)
- return new MipsOptionsSection<ELFT>(Reginfo);
+ return make<MipsOptionsSection<ELFT>>(Reginfo);
return nullptr;
}
OpenPOWER on IntegriCloud