summaryrefslogtreecommitdiffstats
path: root/llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp')
-rw-r--r--llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp b/llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp
index 0b77ff08de0..4383b5a1eeb 100644
--- a/llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp
+++ b/llvm/examples/HowToUseLLJIT/HowToUseLLJIT.cpp
@@ -20,8 +20,8 @@ using namespace llvm::orc;
ExitOnError ExitOnErr;
ThreadSafeModule createDemoModule() {
- auto Context = llvm::make_unique<LLVMContext>();
- auto M = make_unique<Module>("test", *Context);
+ auto Context = std::make_unique<LLVMContext>();
+ auto M = std::make_unique<Module>("test", *Context);
// Create the add1 function entry and insert this entry into module M. The
// function will have a return type of "int" and take an argument of "int".
OpenPOWER on IntegriCloud