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

@ -71,7 +71,7 @@ void ColumnProject::measure (Task& task, unsigned int& minimum, unsigned int& ma
if (_style == "parent")
{
std::string::size_type period = project.find ('.');
auto period = project.find ('.');
if (period != std::string::npos)
project = project.substr (0, period);
}
@ -101,7 +101,7 @@ void ColumnProject::render (
std::string project = task.get (_name);
if (_style == "parent")
{
std::string::size_type period = project.find ('.');
auto period = project.find ('.');
if (period != std::string::npos)
project = project.substr (0, period);
}