Cleanup: Don't use string literals when character literals are needed
This commit is contained in:
@@ -224,8 +224,8 @@ int CmdZshCommands::execute (std::string& output)
|
||||
// Emit the commands in order.
|
||||
std::stringstream out;
|
||||
for (auto& zc : commands)
|
||||
out << zc._command << ":"
|
||||
<< Command::categoryNames.at (zc._category) << ":"
|
||||
out << zc._command << ':'
|
||||
<< Command::categoryNames.at (zc._category) << ':'
|
||||
<< zc._description << '\n';
|
||||
|
||||
output = out.str ();
|
||||
|
||||
Reference in New Issue
Block a user