C++11: N1984 auto

This commit is contained in:
Paul Beckingham 2015-05-24 13:36:26 -04:00
parent 7bbc794d3a
commit e8d04bdce6
24 changed files with 77 additions and 77 deletions

View file

@ -56,7 +56,7 @@ int CmdReports::execute (std::string& output)
if (i.first.substr (0, 7) == "report.")
{
std::string report = i.first.substr (7);
std::string::size_type columns = report.find (".columns");
auto columns = report.find (".columns");
if (columns != std::string::npos)
reports.push_back (report.substr (0, columns));
}