Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / gromacs / ewald / pme-gpu-program.cpp
index 46c2103e5e273cda0caf2324dc6c40d4e044efd7..fbb1a8eeb7973050e87a3bd1958dc2cb9888da84 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.
 
 #include "pme-gpu-program.h"
 
-#include "gromacs/compat/make_unique.h"
+#include <memory>
 
 #include "pme-gpu-program-impl.h"
 
 PmeGpuProgram::PmeGpuProgram(const gmx_device_info_t *deviceInfo) :
-    impl_(gmx::compat::make_unique<PmeGpuProgramImpl>(deviceInfo))
+    impl_(std::make_unique<PmeGpuProgramImpl>(deviceInfo))
 {
 }
 
@@ -65,5 +65,5 @@ PmeGpuProgramStorage buildPmeGpuProgram(const gmx_device_info_t *deviceInfo)
         // This workaround is only needed for CodePath::CPU dummy in testhardwarecontexts.cpp
         return nullptr;
     }
-    return gmx::compat::make_unique<PmeGpuProgram>(deviceInfo);
+    return std::make_unique<PmeGpuProgram>(deviceInfo);
 }