aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-11 20:55:19 -0500
committerJack Lloyd <[email protected]>2017-12-11 20:55:19 -0500
commit44c34416c7c10b69e45f255785c11ec063614c52 (patch)
tree1d7228a72a09a342deaeea4b5b1c3e10ee2fdcf2 /src
parent48502ed20525e631f5a565877747d0fa1debbfcc (diff)
Avoid a shadow warning under old Clang [ci skip]
Bogus warning but whatever.
Diffstat (limited to 'src')
-rw-r--r--src/cli/argparse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/argparse.h b/src/cli/argparse.h
index 457716095..ebedfefb1 100644
--- a/src/cli/argparse.h
+++ b/src/cli/argparse.h
@@ -207,8 +207,8 @@ Argument_Parser::Argument_Parser(const std::string& spec,
class CLI_Error_Invalid_Spec : public CLI_Error
{
public:
- explicit CLI_Error_Invalid_Spec(const std::string& spec)
- : CLI_Error("Invalid command spec '" + spec + "'") {}
+ explicit CLI_Error_Invalid_Spec(const std::string& bad_spec)
+ : CLI_Error("Invalid command spec '" + bad_spec + "'") {}
};
const std::vector<std::string> parts = Botan::split_on(spec, ' ');