Remove PrivateImplPointer in favour of std::unique_ptr
[alexxy/gromacs.git] / src / gromacs / analysisdata / modules / lifetime.h
index ede0b25babbd6c6df90a33c03fff030ac564af56..d77eb486c9555ba453347b7924cced101992d709 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,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.
 #ifndef GMX_ANALYSISDATA_MODULES_LIFETIME_H
 #define GMX_ANALYSISDATA_MODULES_LIFETIME_H
 
+#include <memory>
+
 #include "gromacs/analysisdata/arraydata.h"
 #include "gromacs/analysisdata/datamodule.h"
-#include "gromacs/utility/classhelpers.h"
 
 namespace gmx
 {
@@ -102,7 +103,7 @@ public:
 private:
     class Impl;
 
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 };
 
 //! Smart pointer to manage an AnalysisDataLifetimeModule object.