aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-05-18 18:38:42 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-05-18 18:38:42 +0100
commit6068dc1ba3ae8e914cdd4cf97b044e7e6925598b (patch)
treec2354d6d0be56b12c832f56ac3b0f4c854ae71e8
parent81ecd4c931aadada6e0a2c4a62377ea68a66e7d0 (diff)
downloadpaludis-6068dc1ba3ae8e914cdd4cf97b044e7e6925598b.tar.gz
paludis-6068dc1ba3ae8e914cdd4cf97b044e7e6925598b.tar.xz
Fix warnings
-rw-r--r--paludis/args/args_option.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/args/args_option.cc b/paludis/args/args_option.cc
index cecefa0..1140448 100644
--- a/paludis/args/args_option.cc
+++ b/paludis/args/args_option.cc
@@ -131,18 +131,18 @@ AliasArg::forwardable_args() const
StringArg::StringArg(ArgsGroup * const g, const std::string & our_long_name,
const char our_short_name, const std::string & our_description,
- const bool can_be_negated) :
+ const bool neg) :
ArgsOption(g, our_long_name, our_short_name, our_description),
- _can_be_negated(can_be_negated),
+ _can_be_negated(neg),
_validator(0)
{
}
StringArg::StringArg(ArgsGroup * const g, const std::string & our_long_name,
const char our_short_name, const std::string & our_description,
- void (* v) (const std::string &), const bool can_be_negated) :
+ void (* v) (const std::string &), const bool neg) :
ArgsOption(g, our_long_name, our_short_name, our_description),
- _can_be_negated(can_be_negated),
+ _can_be_negated(neg),
_validator(v)
{
}