diff --git a/src/HttpServer.cxx b/src/HttpServer.cxx index e5484a7..dd6713a 100644 --- a/src/HttpServer.cxx +++ b/src/HttpServer.cxx @@ -137,9 +137,8 @@ void HttpServer::callback( childArgs *args ){ << av << endl; } } - typedef multimap::const_iterator mmit; - pair 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] != '+' ){