clang-tidy

This commit is contained in:
Erik Frojdh
2019-11-27 18:42:16 +01:00
parent d53082c615
commit f4cdd759b0
3 changed files with 13 additions and 13 deletions

View File

@@ -91,7 +91,7 @@ std::string CmdProxy::ListCommands(int action) {
if (args[0] == "deprecated") {
std::cout << "The following " << depreciated_functions.size()
<< " commands are deprecated\n";
size_t field_width = 20;
const size_t field_width = 20;
for (const auto &it : depreciated_functions) {
std::cout << std::right << std::setw(field_width) << it.first
<< " -> " << it.second << '\n';