mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
C++11: N1984 auto
This commit is contained in:
parent
7bbc794d3a
commit
e8d04bdce6
24 changed files with 77 additions and 77 deletions
|
@ -593,7 +593,7 @@ void Chart::optimizeGrid ()
|
|||
std::string::size_type ws;
|
||||
while ((ws = _grid.find (" \n")) != std::string::npos)
|
||||
{
|
||||
std::string::size_type non_ws = ws;
|
||||
auto non_ws = ws;
|
||||
while (_grid[non_ws] == ' ')
|
||||
--non_ws;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue