Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / unittests / IR / ConstantsTest.cpp
index fee38b891de427b05d3327a635ff245ce6b36048..b3aa8102b64d36b3de85cbd2e308b5afd6d69620 100644 (file)
@@ -162,7 +162,7 @@ TEST(ConstantsTest, PointerCast) {
   }
 
 TEST(ConstantsTest, AsInstructionsTest) {
-  OwningPtr<Module> M(new Module("MyModule", getGlobalContext()));
+  std::unique_ptr<Module> M(new Module("MyModule", getGlobalContext()));
 
   Type *Int64Ty = Type::getInt64Ty(getGlobalContext());
   Type *Int32Ty = Type::getInt32Ty(getGlobalContext());