diff --git a/src/commands/CmdColor.cpp b/src/commands/CmdColor.cpp index a7123047d..7bce8376d 100644 --- a/src/commands/CmdColor.cpp +++ b/src/commands/CmdColor.cpp @@ -59,8 +59,8 @@ int CmdColor::execute (std::string& output) int rc = 0; // Get the non-attribute, non-fancy command line arguments. - bool legend = false; - std::vector words = context.cli2.getWords (); + auto legend = false; + auto words = context.cli2.getWords (); for (auto& word : words) if (closeEnough ("legend", word)) legend = true;