Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / examples / Fibonacci / fibonacci.cpp
index 76264b6513e039725d6bbd7b51e76b0a5187fa77..ba8e95342fa538afd18625ea4a4426a193af6bf9 100644 (file)
@@ -96,7 +96,7 @@ int main(int argc, char **argv) {
   LLVMContext Context;
 
   // Create some module to put our function into it.
-  OwningPtr<Module> M(new Module("test", Context));
+  std::unique_ptr<Module> M(new Module("test", Context));
 
   // We are about to create the "fib" function:
   Function *FibF = CreateFibFunction(M.get(), Context);