Remove PrivateImplPointer in favour of std::unique_ptr
[alexxy/gromacs.git] / src / gromacs / onlinehelp / helpwritercontext.h
index 4ce7b4fff60327438b566e16474412bdabf5afee..cf16c066cf686d95859a0afd850cbe86379254b5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2019, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,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.
@@ -43,6 +43,7 @@
 #ifndef GMX_ONLINEHELP_HELPWRITERCONTEXT_H
 #define GMX_ONLINEHELP_HELPWRITERCONTEXT_H
 
+#include <memory>
 #include <string>
 #include <vector>
 
@@ -106,7 +107,7 @@ public:
 private:
     class Impl;
 
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 
     //! Allows the context to use the links.
     friend class HelpWriterContext;
@@ -297,7 +298,7 @@ private:
      */
     explicit HelpWriterContext(Impl* impl);
 
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 
     GMX_DISALLOW_ASSIGN(HelpWriterContext);
 };