Replace scoped_cptr with unique_cptr
[alexxy/gromacs.git] / src / gromacs / fileio / tests / readinp.cpp
index 506a3dbd1d818ba75681bb271166e6a9f9dffb03..f32c0c0fb1a5fb5752c8bd9abde390e0c527e855 100644 (file)
@@ -45,8 +45,8 @@
 #include <gtest/gtest.h>
 
 #include "gromacs/fileio/warninp.h"
-#include "gromacs/utility/scoped_cptr.h"
 #include "gromacs/utility/smalloc.h"
+#include "gromacs/utility/unique_cptr.h"
 
 namespace gmx
 {
@@ -77,9 +77,9 @@ class ReadTest : public ::testing::Test
 
         int                                            numInputs_;
         t_inpfile                                     *inputField_;
-        gmx::scoped_cptr<t_inpfile>                    inpGuard_;
+        gmx::unique_cptr<t_inpfile>                    inpGuard_;
         warninp_t                                      wi_;
-        gmx::scoped_cptr<struct warninp, free_warning> wiGuard_;
+        gmx::unique_cptr<struct warninp, free_warning> wiGuard_;
 };
 
 TEST_F(ReadTest, get_eint_ReadsInteger)