biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply more clang-tidy-11
[alexxy/gromacs.git]
/
src
/
testutils
/
cmdlinetest.cpp
diff --git
a/src/testutils/cmdlinetest.cpp
b/src/testutils/cmdlinetest.cpp
index a03b895abb3cf4de20cd90889f74cf0543ba7fe0..bbea96a5a8a3659ae01c6a5a094290e79ff10614 100644
(file)
--- a/
src/testutils/cmdlinetest.cpp
+++ b/
src/testutils/cmdlinetest.cpp
@@
-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)