Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / gromacs / domdec / localatomsetmanager.cpp
index dfe05ddf675a33ab1a68d1ef0ebb920657f2080d..6305d2bd2de2dcb608ca4894806a66cd9ae0e27a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -46,7 +46,6 @@
 #include <algorithm>
 #include <memory>
 
-#include "gromacs/compat/make_unique.h"
 #include "gromacs/domdec/localatomset.h"
 #include "gromacs/utility/exceptions.h"
 
@@ -78,7 +77,7 @@ LocalAtomSetManager::~LocalAtomSetManager(){}
 LocalAtomSet
 LocalAtomSetManager::add(ArrayRef<const int> globalAtomIndex)
 {
-    impl_->atomSetData_.push_back(compat::make_unique<internal::LocalAtomSetData>(globalAtomIndex));
+    impl_->atomSetData_.push_back(std::make_unique<internal::LocalAtomSetData>(globalAtomIndex));
     return LocalAtomSet(*impl_->atomSetData_.back());
 }