Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / unittests / IR / ValueTest.cpp
index f10e58922e5b113281ff2b5b27256b7622bbdf80..d92bc82768a0a09b0605526457cd020e40243476 100644 (file)
@@ -45,7 +45,7 @@ TEST(ValueTest, UsedInBasicBlock) {
 
 TEST(GlobalTest, CreateAddressSpace) {
   LLVMContext &Ctx = getGlobalContext();
-  OwningPtr<Module> M(new Module("TestModule", Ctx));
+  std::unique_ptr<Module> M(new Module("TestModule", Ctx));
   Type *Int8Ty = Type::getInt8Ty(Ctx);
   Type *Int32Ty = Type::getInt32Ty(Ctx);