Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Jan 14, 2025
1 parent c217041 commit 731e5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/s2p/s2p_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ vector<char*> S2pParser::ConvertLegacyOptions(const span<char*> &initial_args)
// -hd|-HD -> -h
// -idn:u|-hdn:u -> -i|-h n:u
vector<char*> args;
for (const string &arg : initial_args) {
for (const string arg : initial_args) {
const size_t start_of_ids = arg.find_first_of("0123456789");
const string &ids = (start_of_ids != string::npos) ? arg.substr(start_of_ids) : "";

Expand Down

0 comments on commit 731e5fb

Please sign in to comment.