Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / gromacs / options / options.cpp
index 9f9486aeea064091a37c573b411483a74c498cc8..c8de6e435a8a2ea3b99d02a902e71e21622289bc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2014,2015,2016,2017,2018,2019, 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,9 +43,9 @@
 
 #include "options.h"
 
+#include <memory>
 #include <utility>
 
-#include "gromacs/compat/make_unique.h"
 #include "gromacs/options/abstractoption.h"
 #include "gromacs/options/abstractoptionstorage.h"
 #include "gromacs/options/optionsection.h"
@@ -114,7 +114,7 @@ OptionSectionImpl::addSectionImpl(const AbstractOptionSection &section)
     // Make sure that there are no duplicate sections.
     GMX_RELEASE_ASSERT(findSection(name) == nullptr, "Duplicate subsection name");
     std::unique_ptr<IOptionSectionStorage> storage(section.createStorage());
-    subsections_.push_back(compat::make_unique<OptionSectionImpl>(managers_, std::move(storage), name));
+    subsections_.push_back(std::make_unique<OptionSectionImpl>(managers_, std::move(storage), name));
     return subsections_.back().get();
 }