biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0dab36f
)
Fix clang-format in topio.cpp
author
Artem Zhmurov
<zhmurov@gmail.com>
Mon, 15 Mar 2021 09:09:49 +0000
(12:09 +0300)
committer
Artem Zhmurov
<zhmurov@gmail.com>
Mon, 15 Mar 2021 09:09:49 +0000
(12:09 +0300)
Introduced in
0dab36f99294056b33f4ee58383587a82447b9e6
src/gromacs/gmxpreprocess/topio.cpp
patch
|
blob
|
history
diff --git
a/src/gromacs/gmxpreprocess/topio.cpp
b/src/gromacs/gmxpreprocess/topio.cpp
index 073e697385de4e5f55ed0146018a1bcf0642a05d..578d85406410b759101334073b62b49ab382af22 100644
(file)
--- a/
src/gromacs/gmxpreprocess/topio.cpp
+++ b/
src/gromacs/gmxpreprocess/topio.cpp
@@
-309,7
+309,7
@@
static void get_nbparm(char* nb_str, char* comb_str, VanDerWaalsPotential* nb, C
* Returns a vector of parsed include/define flags, with an extra nullptr entry at the back
* for consumers that expect null-terminated char** structures.
*/
* Returns a vector of parsed include/define flags, with an extra nullptr entry at the back
* for consumers that expect null-terminated char** structures.
*/
-static std::vector<char
*> cpp_opts(const char* define, const char* include, warninp* wi)
+static std::vector<char*> cpp_opts(const char* define, const char* include, warninp* wi)
{
int n, len;
const char* cppadds[2];
{
int n, len;
const char* cppadds[2];
@@
-322,7
+322,7
@@
static std::vector<char *> cpp_opts(const char* define, const char* include, war
cppadds[0] = define;
cppadds[1] = include;
cppadds[0] = define;
cppadds[1] = include;
- std::vector<char
*> cppOptions;
+ std::vector<char*> cppOptions;
for (n = 0; (n < 2); n++)
{
if (cppadds[n])
for (n = 0; (n < 2); n++)
{
if (cppadds[n])