aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/dep_spec.cc')
-rw-r--r--paludis/dep_spec.cc22
1 files changed, 3 insertions, 19 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index f4bcf1c59..35a7996b1 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -44,8 +44,6 @@
using namespace paludis;
-#include <paludis/dep_spec-se.cc>
-
namespace paludis
{
template <>
@@ -213,17 +211,15 @@ NamedSetDepSpec::clone() const
return result;
}
-BlockDepSpec::BlockDepSpec(const std::string & s, const PackageDepSpec & p, const BlockKind k) :
+BlockDepSpec::BlockDepSpec(const std::string & s, const PackageDepSpec & p) :
StringDepSpec(s),
- _spec(p),
- _kind(k)
+ _spec(p)
{
}
BlockDepSpec::BlockDepSpec(const BlockDepSpec & other) :
StringDepSpec(other.text()),
- _spec(other._spec),
- _kind(other._kind)
+ _spec(other._spec)
{
set_annotations(other.maybe_annotations());
}
@@ -392,18 +388,6 @@ BlockDepSpec::blocking() const
return _spec;
}
-BlockKind
-BlockDepSpec::block_kind() const
-{
- return _kind;
-}
-
-void
-BlockDepSpec::set_block_kind(const BlockKind k)
-{
- _kind = k;
-}
-
std::shared_ptr<DepSpec>
BlockDepSpec::clone() const
{