mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Use more efficient overload with character
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
f185589f47
commit
0edef6eda4
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ void Rules::parseRuleSettings (
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
unsigned int Rules::getIndentation (const std::string& line)
|
||||
{
|
||||
auto indent = line.find_first_not_of (" ");
|
||||
auto indent = line.find_first_not_of (' ');
|
||||
if (indent == std::string::npos)
|
||||
indent = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue