C++11: N1984 auto
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user