mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
legacy: Code cleanup
This commit is contained in:
parent
4da1785a1e
commit
a364acf726
1 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ std::string legacyCheckForDeprecatedVariables ()
|
|||
out << STRING_CONFIG_DEPRECATED_VAR
|
||||
<< "\n";
|
||||
|
||||
for (auto& dep : deprecated)
|
||||
for (const auto& dep : deprecated)
|
||||
out << " " << dep << "\n";
|
||||
|
||||
out << "\n";
|
||||
|
@ -156,7 +156,7 @@ std::string legacyCheckForDeprecatedColumns ()
|
|||
out << STRING_CONFIG_DEPRECATED_COL
|
||||
<< "\n";
|
||||
|
||||
for (auto& dep : deprecated)
|
||||
for (const auto& dep : deprecated)
|
||||
out << " " << dep << "=" << context.config.get (dep) << "\n";
|
||||
|
||||
out << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue