Remove PrivateImplPointer in favour of std::unique_ptr
[alexxy/gromacs.git] / src / gromacs / utility / directoryenumerator.h
index 18bf7919822b466d7e8562645dd0308736b6718a..36dec8b24fc1d4942de3b7df3c090ddc59df65e1 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2019, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,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_UTILITY_DIRECTORYENUMERATOR_H
 #define GMX_UTILITY_DIRECTORYENUMERATOR_H
 
+#include <memory>
 #include <string>
 #include <vector>
 
-#include "gromacs/utility/classhelpers.h"
-
 namespace gmx
 {
 
@@ -123,7 +122,7 @@ public:
 private:
     class Impl;
 
-    PrivateImplPointer<Impl> impl_;
+    std::unique_ptr<Impl> impl_;
 };
 
 } // namespace gmx