We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91528be commit 372ac03Copy full SHA for 372ac03
1 file changed
cli/main.cpp
@@ -15,9 +15,9 @@ int main(int argc, char** argv)
15
// Simplified parsing of command-line arguments for demonstration purposes
16
// Later add a cli lib like CLI11 or cxxopts for more robust argument parsing
17
18
- std::span args{argv, static_cast<size_t>(argc)};
+ const std::span args{argv, static_cast<size_t>(argc)};
19
20
- for (auto arg : args)
+ for (auto* arg : args)
21
{
22
if (std::strcmp(arg, "--version") == 0)
23
0 commit comments