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.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index 84a2fb731..602646997 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -125,6 +125,23 @@ AllDepSpec::clone() const
return result;
}
+ExactlyOneDepSpec::ExactlyOneDepSpec()
+{
+}
+
+void
+ExactlyOneDepSpec::need_keys_added() const
+{
+}
+
+std::shared_ptr<DepSpec>
+ExactlyOneDepSpec::clone() const
+{
+ std::shared_ptr<ExactlyOneDepSpec> result(std::make_shared<ExactlyOneDepSpec>());
+ result->set_annotations_key(annotations_key());
+ return result;
+}
+
namespace paludis
{
template <>