diff options
author | 2011-06-12 01:11:43 +0100 | |
---|---|---|
committer | 2011-06-12 01:12:11 +0100 | |
commit | 0c9893ceeca308897238e4c2190607d570f7feba (patch) | |
tree | 9c705b1f4bb1ece4790f3f547e993f4d72e8cd0f /doc/api | |
parent | 8653241b4e943999757f30451f24a2ccc8d9862c (diff) | |
download | paludis-0c9893ceeca308897238e4c2190607d570f7feba.tar.gz paludis-0c9893ceeca308897238e4c2190607d570f7feba.tar.xz |
Kill AssociationMask
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/cplusplus/examples/example_mask.cc | 6 | ||||
-rw-r--r-- | doc/api/ruby/example_mask.rb | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/doc/api/cplusplus/examples/example_mask.cc b/doc/api/cplusplus/examples/example_mask.cc index c9fd67a33..8f2bd7c9e 100644 --- a/doc/api/cplusplus/examples/example_mask.cc +++ b/doc/api/cplusplus/examples/example_mask.cc @@ -61,12 +61,6 @@ namespace cout << left << setw(30) << " Class:" << " " << "UnsupportedMask" << endl; cout << left << setw(30) << " Explanation:" << " " << mask.explanation() << endl; } - - void visit(const AssociationMask & mask) - { - cout << left << setw(30) << " Class:" << " " << "AssociationMask" << endl; - cout << left << setw(30) << " Associated package:" << " " << mask.associated_package_spec() << endl; - } }; } diff --git a/doc/api/ruby/example_mask.rb b/doc/api/ruby/example_mask.rb index d8724db8a..fd99e64c8 100644 --- a/doc/api/ruby/example_mask.rb +++ b/doc/api/ruby/example_mask.rb @@ -39,9 +39,6 @@ ids.each do | id | elsif mask.kind_of? UnsupportedMask puts " Class: ".ljust(31) + 'UnsupportedMask' puts " Explanation: ".ljust(31) + mask.explanation - elsif mask.kind_of? AssociationMask - puts " Class: ".ljust(31) + 'AssociationMask' - puts " Associated package: ".ljust(31) + mask.associated_package_spec.to_s else puts " Class: ".ljust(31) + 'Unknown' end |