aboutsummaryrefslogtreecommitdiff
path: root/ruby/metadata_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/metadata_key.cc')
-rw-r--r--ruby/metadata_key.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/ruby/metadata_key.cc b/ruby/metadata_key.cc
index 43bfb2032..3ae309715 100644
--- a/ruby/metadata_key.cc
+++ b/ruby/metadata_key.cc
@@ -50,7 +50,6 @@ namespace
static VALUE c_metadata_fsentry_key;
static VALUE c_metadata_fsentry_sequence_key;
static VALUE c_metadata_key_type;
- static VALUE c_metadata_provide_spec_tree_key;
static VALUE c_metadata_license_spec_tree_key;
static VALUE c_metadata_fetchable_uri_spec_tree_key;
static VALUE c_metadata_simple_uri_spec_tree_key;
@@ -206,12 +205,6 @@ namespace
new std::shared_ptr<const MetadataKey>(mm));
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> &)
- {
- value = Data_Wrap_Struct(c_metadata_provide_spec_tree_key, 0, &Common<std::shared_ptr<const MetadataKey> >::free,
- new std::shared_ptr<const MetadataKey>(mm));
- }
-
void visit(const MetadataSpecTreeKey<DependencySpecTree> &)
{
value = Data_Wrap_Struct(c_metadata_dependency_spec_tree_key, 0, &Common<std::shared_ptr<const MetadataKey> >::free,
@@ -768,14 +761,6 @@ namespace
rb_define_method(c_metadata_license_spec_tree_key, "parse_value", RUBY_FUNC_CAST((&SpecTreeValue<LicenseSpecTree>::fetch)), 0);
/*
- * Document-class: Paludis::MetadataProvideSpecTreeKey
- *
- * Metadata class for provide specs.
- */
- c_metadata_provide_spec_tree_key = rb_define_class_under(paludis_module(), "MetadataProvideSpecTreeKey", c_metadata_key);
- rb_define_method(c_metadata_provide_spec_tree_key, "parse_value", RUBY_FUNC_CAST((&SpecTreeValue<ProvideSpecTree>::fetch)), 0);
-
- /*
* Document-class: Paludis::MetadataPlainTextSpecTreeKey
*
* Metadata class for restrict specs.