Apply more clang-tidy-11
[alexxy/gromacs.git] / src / testutils / cmdlinetest.cpp
index a03b895abb3cf4de20cd90889f74cf0543ba7fe0..bbea96a5a8a3659ae01c6a5a094290e79ff10614 100644 (file)
@@ -156,7 +156,7 @@ CommandLine::~CommandLine() {}
 
 void CommandLine::initFromArray(const ArrayRef<const char* const>& cmdline)
 {
-    impl_.reset(new Impl(cmdline));
+    impl_ = std::make_unique<Impl>(cmdline);
 }
 
 void CommandLine::append(const char* arg)