Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / api / cpp / mdsignals.cpp
index da00f81e6e4751ac632f9066b519abb60f416987..17718780c2e737848ce9d11e0537a033a0da6d7e 100644 (file)
@@ -43,7 +43,7 @@
 
 #include <atomic>
 
-#include "gromacs/compat/make_unique.h"
+#include <memory>
 #include "gromacs/mdlib/simulationsignal.h"
 #include "gromacs/mdrun/runner.h"
 #include "gromacs/utility/gmxassert.h"
@@ -164,7 +164,7 @@ Signal SignalManager::getSignal(std::string name,
         throw gmxapi::NotImplementedError("This signaller only handles stop signals.");
     }
 
-    auto   signalImpl = gmx::compat::make_unique<LogicalAND>(this, name);
+    auto   signalImpl = std::make_unique<LogicalAND>(this, name);
     auto   functor    = Signal(std::move(signalImpl));
     return functor;
 }