Commit 0ec4a87c authored by Tom Stellard's avatar Tom Stellard
Browse files

Fix build since b288f7d6

This change introduced a use of std::make_unique() which some compilers
reject in c++11 mode.
parent 686a8891
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ private:
};

std::unique_ptr<MCContext> createMCContext(MCAsmInfo *AsmInfo) {
  return std::make_unique<MCContext>(AsmInfo, nullptr, nullptr, nullptr, false);
  return llvm::make_unique<MCContext>(AsmInfo, nullptr, nullptr, nullptr, false);
}

std::unique_ptr<BogusTargetMachine> createTargetMachine() {