Skip to content

Commit 372ac03

Browse files
Fix lint issues
1 parent 91528be commit 372ac03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ int main(int argc, char** argv)
1515
// Simplified parsing of command-line arguments for demonstration purposes
1616
// Later add a cli lib like CLI11 or cxxopts for more robust argument parsing
1717

18-
std::span args{argv, static_cast<size_t>(argc)};
18+
const std::span args{argv, static_cast<size_t>(argc)};
1919

20-
for (auto arg : args)
20+
for (auto* arg : args)
2121
{
2222
if (std::strcmp(arg, "--version") == 0)
2323
{

0 commit comments

Comments
 (0)