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.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index 4221d4662..419dd2a23 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -45,6 +45,8 @@
using namespace paludis;
+#include <paludis/dep_spec-se.cc>
+
namespace paludis
{
template <>
@@ -252,17 +254,17 @@ NamedSetDepSpec::need_keys_added() const
{
}
-BlockDepSpec::BlockDepSpec(const std::string & s, const PackageDepSpec & p, const bool t) :
+BlockDepSpec::BlockDepSpec(const std::string & s, const PackageDepSpec & p, const BlockKind k) :
StringDepSpec(s),
_spec(p),
- _strong(t)
+ _kind(k)
{
}
BlockDepSpec::BlockDepSpec(const BlockDepSpec & other) :
StringDepSpec(other.text()),
_spec(other._spec),
- _strong(other._strong)
+ _kind(other._kind)
{
}
@@ -450,10 +452,10 @@ BlockDepSpec::blocking() const
return _spec;
}
-bool
-BlockDepSpec::strong() const
+BlockKind
+BlockDepSpec::block_kind() const
{
- return _strong;
+ return _kind;
}
std::shared_ptr<DepSpec>