mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57: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
|
@ -150,7 +150,7 @@ bool Msg::parse (const std::string& input)
|
|||
split (lines, input.substr (0, separator), '\n');
|
||||
for (auto& i : lines)
|
||||
{
|
||||
std::string::size_type delimiter = i.find (':');
|
||||
auto delimiter = i.find (':');
|
||||
if (delimiter == std::string::npos)
|
||||
throw std::string ("ERROR: Malformed message header '") + i + "'";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue