commit | 96487709fe4a5afa47ddb5e4ea1e01210f15e2d1 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Feb 03 16:28:49 2023 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 14:37:52 2023 +1030 |
tree | 3eba3ea6acd15737e7c05a9f7220c1a77d3fad8d | |
parent | 1d88e68e9ec2d4a15c73d3ec37051b5f5a873aa7 [diff] |
argument: Fix cppcoreguidelines-pro-bounds-array-to-pointer-decay ``` ../argument.cpp:32:57: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors] (option = getopt_long(argc, argv, optionstr, options, nullptr))) ^ ``` Change-Id: I0960608846c1b48318dfadc469b9936bfde02cec Signed-off-by: Andrew Jeffery <andrew@aj.id.au>