OrcJIT: Avoid non-static initializers.
[oota-llvm.git] / lib / ExecutionEngine / Orc / OrcMCJITReplacement.h
index 03289ed70b1fde686893da7dbe831b00b9421bfa..eae8f7425ffada9abaa7d4f1225b40dcf5f79856 100644 (file)
@@ -258,7 +258,7 @@ private:
                     const ObjListT &Objects,
                     const LoadedObjInfoListT &Infos) const {
       M.UnfinalizedSections[H] = std::move(M.SectionsAllocatedSinceLastLoad);
-      M.SectionsAllocatedSinceLastLoad = SectionAddrSet{};
+      M.SectionsAllocatedSinceLastLoad = SectionAddrSet();
       assert(Objects.size() == Infos.size() &&
              "Incorrect number of Infos for Objects.");
       for (unsigned I = 0; I < Objects.size(); ++I)