aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-05 20:49:25 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-05 20:49:25 +0000
commit4ad9c319fd1c6d7fc9b5f8b8adfb63bfa2ecc631 (patch)
tree399810d0b0eac3c6ccfedf3f235e417b88799640
parent7f13df57d3cf6e31e92a6480943a9218f8513b14 (diff)
downloadpaludis-4ad9c319fd1c6d7fc9b5f8b8adfb63bfa2ecc631.tar.gz
paludis-4ad9c319fd1c6d7fc9b5f8b8adfb63bfa2ecc631.tar.xz
Deprecated
-rw-r--r--paludis/args/args_option.cc7
-rw-r--r--paludis/args/args_option.hh8
2 files changed, 0 insertions, 15 deletions
diff --git a/paludis/args/args_option.cc b/paludis/args/args_option.cc
index f373b41..6935fd7 100644
--- a/paludis/args/args_option.cc
+++ b/paludis/args/args_option.cc
@@ -82,13 +82,6 @@ ArgsOption::remove()
}
SwitchArg::SwitchArg(ArgsGroup * const our_group, std::string our_long_name, char our_short_name,
- std::string our_description) :
- ArgsOption(our_group, our_long_name, our_short_name, our_description),
- _can_be_negated(false)
-{
-}
-
-SwitchArg::SwitchArg(ArgsGroup * const our_group, std::string our_long_name, char our_short_name,
std::string our_description, const bool c) :
ArgsOption(our_group, our_long_name, our_short_name, our_description),
_can_be_negated(c)
diff --git a/paludis/args/args_option.hh b/paludis/args/args_option.hh
index caab1c9..f3b4194 100644
--- a/paludis/args/args_option.hh
+++ b/paludis/args/args_option.hh
@@ -160,14 +160,6 @@ namespace paludis
SwitchArg(ArgsGroup * const group, std::string long_name, char short_name,
std::string description, const bool can_be_negated);
- /**
- * Constructor.
- *
- * \deprecated Use the form with the additional can_be_negated arg. Deprecated in 0.26.
- */
- SwitchArg(ArgsGroup * const group, std::string long_name, char short_name,
- std::string description) PALUDIS_ATTRIBUTE((deprecated));
-
~SwitchArg();
virtual bool can_be_negated() const;