Remove PrivateImplPointer in favour of std::unique_ptr
[alexxy/gromacs.git] / src / gromacs / options / options.h
index 69dcb4c52570ab7ad0043b550107555bc7355968..b2ef29668f9601e70bbde04d0b744dfb64346d4e 100644 (file)
@@ -2,7 +2,7 @@
  * This file is part of the GROMACS molecular simulation package.
  *
  * Copyright (c) 2010,2011,2012,2014,2015 by the GROMACS development team.
- * Copyright (c) 2016,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2016,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.
 #ifndef GMX_OPTIONS_OPTIONS_H
 #define GMX_OPTIONS_OPTIONS_H
 
+#include <memory>
 #include <string>
 
 #include "gromacs/options/ioptionscontainerwithsections.h"
-#include "gromacs/utility/classhelpers.h"
 
 namespace gmx
 {
@@ -159,7 +159,7 @@ private:
     // From IOptionsContainer
     OptionInfo* addOptionImpl(const AbstractOption& settings) override;
 
-    PrivateImplPointer<internal::OptionsImpl> impl_;
+    std::unique_ptr<internal::OptionsImpl> impl_;
 
     //! Needed to be able to extend the interface of this object.
     friend class OptionsAssigner;