Remove PrivateImplPointer in favour of std::unique_ptr
[alexxy/gromacs.git] / src / testutils / include / testutils / testfileredirector.h
index 19dfa499f4ce5d94b7f6b6d07b10a7847b0d756b..1574d7a000fabb277964c2d94f7a2ed9b1ff06fb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2015,2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -43,6 +43,7 @@
 #ifndef GMX_TESTUTILS_TESTFILEREDIRECTOR_H
 #define GMX_TESTUTILS_TESTFILEREDIRECTOR_H
 
+#include <memory>
 #include <set>
 #include <string>
 
@@ -120,7 +121,7 @@ public:
 private:
     class Impl;
 
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 };
 
 } // namespace test