*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 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.
#include <cstring>
#include <ctime>
+#include <memory>
+
#include "gromacs/commandline/filenm.h"
-#include "gromacs/compat/make_unique.h"
#include "gromacs/domdec/domdec_struct.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
const gmx_output_env_t *oenv,
const t_commrec *cr)
{
- auto edHandle = gmx::compat::make_unique<gmx::EssentialDynamics>();
+ auto edHandle = std::make_unique<gmx::EssentialDynamics>();
auto ed = edHandle->getLegacyED();
/* We want to perform ED (this switch might later be upgraded to EssentialDynamicsType::Flooding) */
ed->eEDtype = EssentialDynamicsType::EDSampling;
// If we start from a checkpoint file, we already have an edsamHistory struct
if (oh->edsamHistory == nullptr)
{
- oh->edsamHistory = gmx::compat::make_unique<edsamhistory_t>(edsamhistory_t {});
+ oh->edsamHistory = std::make_unique<edsamhistory_t>(edsamhistory_t {});
}
edsamhistory_t *EDstate = oh->edsamHistory.get();