Skip to content

Commit

Permalink
modernizing
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Nov 7, 2024
1 parent b3dc62b commit 662ff8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/HttpServer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,8 @@ void HttpServer::callback( childArgs *args ){
<< av << endl;
}
}
typedef multimap<string,string>::const_iterator mmit;
pair<mmit,mmit> range = acts.equal_range( "set" );
mmit it = range.first;
auto range = acts.equal_range( "set" );
auto it = range.first;
while ( it != range.second ){
string opt = it->second;
if ( !opt.empty() && opt[0] != '-' && opt[0] != '+' ){
Expand Down

0 comments on commit 662ff8a

Please sign in to comment.