mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Cleanup: Don't use string literals when character literals are needed
This commit is contained in:
parent
35e518cbc2
commit
814d7d69fa
27 changed files with 122 additions and 122 deletions
|
@ -232,7 +232,7 @@ int CmdStats::execute (std::string& output)
|
|||
view.set (row, 0, STRING_CMD_STATS_TAGGED);
|
||||
|
||||
std::stringstream value;
|
||||
value << std::setprecision (3) << (100.0 * taggedT / totalT) << "%";
|
||||
value << std::setprecision (3) << (100.0 * taggedT / totalT) << '%';
|
||||
view.set (row, 1, value.str ());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue