Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / testutils / testinit.cpp
index 3b33c1e883917982f02132ee905932f9b810bd85..e87b9ea88f0859f27ff5d7b4c2353b1448ba3998 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -56,7 +56,6 @@
 #include "gromacs/commandline/cmdlineinit.h"
 #include "gromacs/commandline/cmdlineparser.h"
 #include "gromacs/commandline/cmdlineprogramcontext.h"
-#include "gromacs/compat/make_unique.h"
 #include "gromacs/math/utilities.h"
 #include "gromacs/options/basicoptions.h"
 #include "gromacs/options/options.h"
@@ -188,7 +187,7 @@ void initTestUtils(const char *dataPath, const char *tempPath, bool usesMpi,
         {
             callAddGlobalTestEnvironment();
         }
-        g_testContext = gmx::compat::make_unique<TestProgramContext>(context);
+        g_testContext = std::make_unique<TestProgramContext>(context);
         setProgramContext(g_testContext.get());
         // Use the default finder that does not respect GMXLIB, since the tests
         // generally can only get confused by a different set of data files.