commit | 84c8054b87dd20eb55edc219c2e2c06dd89d5e3a | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 16:39:11 2023 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 16:52:28 2023 +1030 |
tree | 05a5e25e94963a67c7b91362f3ee87da0cd79ea7 | |
parent | cbdbed57a8dbaf3fd8c7641727765f3d24e00ffd [diff] |
argument: Fix cppcoreguidelines-avoid-non-const-global-variables ``` ../argument.hpp:52:31: error: variable 'optionstr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] static inline const char* optionstr = "p:?h"; ^ ``` Change-Id: I2c22a9f2c5cd9dbe0ce23928663dd10679f873c4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>