Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / gromacs / domdec / domdec_constraints.cpp
index f9c8364336d56f8a0b9c6d684a47c0868cb94c8f..92ffdd85bdd0f3771e582120d89666e815935afc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2006,2007,2008,2009,2010,2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2006,2007,2008,2009,2010,2012,2013,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.
@@ -49,8 +49,8 @@
 #include <cassert>
 
 #include <algorithm>
+#include <memory>
 
-#include "gromacs/compat/make_unique.h"
 #include "gromacs/domdec/dlbtiming.h"
 #include "gromacs/domdec/domdec.h"
 #include "gromacs/domdec/domdec_struct.h"
@@ -651,7 +651,7 @@ void init_domdec_constraints(gmx_domdec_t     *dd,
      */
     int numKeysEstimate = std::min(mtop->natoms/20,
                                    mtop->natoms/(2*dd->nnodes));
-    dc->ga2la = gmx::compat::make_unique < gmx::HashedMap < int>>(numKeysEstimate);
+    dc->ga2la = std::make_unique < gmx::HashedMap < int>>(numKeysEstimate);
 
     dc->nthread = gmx_omp_nthreads_get(emntDomdec);
     dc->ils.resize(dc->nthread);