From 264c3bc15a7c20425b65e488fe32e3203c3f8e40 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Wed, 24 Feb 2016 22:08:05 +0000 Subject: [PATCH] Replace std::auto_ptr with std::unique_ptr. NFC. std::auto_ptr has been deprecated in C++11, which some compilers warn about. llvm-svn: 261787 --- polly/include/polly/DependenceInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/include/polly/DependenceInfo.h b/polly/include/polly/DependenceInfo.h index 92878e5b0d5e..b8a6ec9d9aa6 100644 --- a/polly/include/polly/DependenceInfo.h +++ b/polly/include/polly/DependenceInfo.h @@ -207,7 +207,7 @@ private: Scop *S; /// @brief Dependences struct for the current SCoP. - std::auto_ptr D; + std::unique_ptr D; }; } // End polly namespace.