Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / gromacs / mdlib / boxdeformation.cpp
index cf84470f92ff5ef2edc7d848edbef7ddb7703bac..aa8163870815966036c64268788772f810cd75a0 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.
@@ -50,7 +50,8 @@
 
 #include "boxdeformation.h"
 
-#include "gromacs/compat/make_unique.h"
+#include <memory>
+
 #include "gromacs/gmxlib/network.h"
 #include "gromacs/math/invertmatrix.h"
 #include "gromacs/math/vec.h"
@@ -88,10 +89,10 @@ prepareBoxDeformation(const matrix     &initialBox,
         gmx_bcast(sizeof(box), box, cr);
     }
 
-    return compat::make_unique<BoxDeformation>(inputrec.delta_t,
-                                               inputrec.init_step,
-                                               inputrec.deform,
-                                               box);
+    return std::make_unique<BoxDeformation>(inputrec.delta_t,
+                                            inputrec.init_step,
+                                            inputrec.deform,
+                                            box);
 }
 
 BoxDeformation::BoxDeformation(double        timeStep,