Fix clang-format in topio.cpp
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 15 Mar 2021 09:09:49 +0000 (12:09 +0300)
committerArtem Zhmurov <zhmurov@gmail.com>
Mon, 15 Mar 2021 09:09:49 +0000 (12:09 +0300)
Introduced in 0dab36f99294056b33f4ee58383587a82447b9e6

src/gromacs/gmxpreprocess/topio.cpp

index 073e697385de4e5f55ed0146018a1bcf0642a05d..578d85406410b759101334073b62b49ab382af22 100644 (file)
@@ -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.
  */
-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];
@@ -322,7 +322,7 @@ static std::vector<char *> cpp_opts(const char* define, const char* include, war
 
     cppadds[0] = define;
     cppadds[1] = include;
-    std::vector<char *> cppOptions;
+    std::vector<char*> cppOptions;
     for (n = 0; (n < 2); n++)
     {
         if (cppadds[n])