Replace compat::make_unique with std::make_unique
[alexxy/gromacs.git] / src / gromacs / utility / keyvaluetreetransform.cpp
index ff884942f6461cd6ccfaa81d9e345d4c85986ecc..db5879ccf51e9e0e91e065c81d76cd1d6f549742 100644 (file)
@@ -42,7 +42,6 @@
 #include <typeindex>
 #include <vector>
 
-#include "gromacs/compat/make_unique.h"
 #include "gromacs/utility/exceptions.h"
 #include "gromacs/utility/ikeyvaluetreeerror.h"
 #include "gromacs/utility/keyvaluetreebuilder.h"
@@ -325,7 +324,7 @@ class KeyValueTreeTransformerImpl
         {
             GMX_RELEASE_ASSERT(rootRule_ == nullptr,
                                "Cannot specify key match type after child rules");
-            rootRule_ = compat::make_unique<Rule>(keyMatchType);
+            rootRule_ = std::make_unique<Rule>(keyMatchType);
         }
 
         std::unique_ptr<Rule>             rootRule_;