commit | d70103d881562c657b0c750b04b099375b095a8a | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Feb 03 16:06:04 2023 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 14:37:02 2023 +1030 |
tree | c8efecffea6366ebf4e9ee7fa4ed5dab5a05cead | |
parent | f9e6cd3a3efaf03dbf88b5eb73a9253c1ce0c780 [diff] |
argument: Fix cppcoreguidelines-avoid-non-const-global-variables ``` ../argument.cpp:31:29: error: variable 'optionstr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors] const char* ArgumentParser::optionstr = "p:?h"; ^ ``` Change-Id: I8518db5525e0f67c8f263079a9389621094249bf Signed-off-by: Andrew Jeffery <andrew@aj.id.au>