Replace scoped_cptr with unique_cptr
[alexxy/gromacs.git] / src / gromacs / gpu_utils / ocl_compiler.cpp
index 3c5e500b42c98de42acc684963ff06e015cf2c2f..1f92b88f5e22fa82ff4d58b53d4693f38087b658 100644 (file)
 #include "gromacs/utility/gmxassert.h"
 #include "gromacs/utility/path.h"
 #include "gromacs/utility/programcontext.h"
-#include "gromacs/utility/scoped_cptr.h"
 #include "gromacs/utility/smalloc.h"
 #include "gromacs/utility/stringutil.h"
 #include "gromacs/utility/textreader.h"
+#include "gromacs/utility/unique_cptr.h"
 
 #include "ocl_caching.h"
 
@@ -120,7 +120,7 @@ writeOclBuildLog(FILE              *fplog,
     }
 
     char             *buildLog = nullptr;
-    scoped_cptr<char> buildLogGuard;
+    unique_cptr<char> buildLogGuard;
     if (buildLogSize != 0)
     {
         /* Allocate memory to fit the build log,