summaryrefslogtreecommitdiffstats
path: root/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/HowToUseJIT/HowToUseJIT.cpp')
-rw-r--r--llvm/examples/HowToUseJIT/HowToUseJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
index 30354d4cae6..c7b3b9a7457 100644
--- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -63,7 +63,7 @@ int main() {
LLVMContext Context;
// Create some module to put our function into it.
- std::unique_ptr<Module> Owner = make_unique<Module>("test", Context);
+ std::unique_ptr<Module> Owner = std::make_unique<Module>("test", Context);
Module *M = Owner.get();
// Create the add1 function entry and insert this entry into module M. The
OpenPOWER on IntegriCloud