/*
* 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))
{
}
// 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);
}