Remove PrivateImplPointer in favour of std::unique_ptr
[alexxy/gromacs.git] / src / gromacs / math / coordinatetransformation.h
index 2451283b1f232a1e3ef9eb7551872e0c47508546..0312878d5e3a224715a8518491f790e4211ce34a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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,8 +43,9 @@
 #ifndef GMX_MATH_COORDINATETRANSFORMATION_H
 #define GMX_MATH_COORDINATETRANSFORMATION_H
 
+#include <memory>
+
 #include "gromacs/math/vectypes.h"
-#include "gromacs/utility/classhelpers.h"
 
 #include "matrix.h"
 
@@ -91,7 +92,7 @@ public:
 
 private:
     class Impl;
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 };
 
 /*! \libinternal \brief Transform coordinates in three dimensions by first
@@ -134,7 +135,7 @@ public:
 
 private:
     class Impl;
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 };
 
 /*! \libinternal