mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +02:00
Cleanup: Don't use string literals when character literals are needed
This commit is contained in:
parent
95f4989f77
commit
8922728888
27 changed files with 122 additions and 122 deletions
|
@ -134,7 +134,7 @@ void ColumnProject::modify (Task& task, const std::string& value)
|
|||
Variant v;
|
||||
e.evaluateInfixExpression (value, v);
|
||||
task.set (_name, (std::string) v);
|
||||
context.debug (label + _name + " <-- '" + (std::string) v + "' <-- '" + value + "'");
|
||||
context.debug (label + _name + " <-- '" + (std::string) v + "' <-- '" + value + '\'');
|
||||
}
|
||||
catch (const std::string& e)
|
||||
{
|
||||
|
@ -143,7 +143,7 @@ void ColumnProject::modify (Task& task, const std::string& value)
|
|||
if (e == STRING_EVAL_NOT_EXPRESSION)
|
||||
{
|
||||
task.set (_name, value);
|
||||
context.debug (label + _name + " <-- '" + value + "'");
|
||||
context.debug (label + _name + " <-- '" + value + '\'');
|
||||
}
|
||||
else
|
||||
throw;
|
||||
|
@ -152,7 +152,7 @@ void ColumnProject::modify (Task& task, const std::string& value)
|
|||
else
|
||||
{
|
||||
task.set (_name, value);
|
||||
context.debug (label + _name + " <-- '" + value + "'");
|
||||
context.debug (label + _name + " <-- '" + value + '\'');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue