summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-28 10:26:39 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-28 10:26:39 +0200
commit14b4780d0da30493b949bf65587f4e8a71db561d (patch)
tree1ac6619cd88933135bf9889922fcf429712738d3 /apt-pkg/acquire-item.cc
parenta2cba9cca24762c090ee6988f14ae40f92a6441f (diff)
* [ABI break] apt-pkg/acquire-item.{cc,h}:
- cleanup around OptionalIndexTarget and SubIndexTarget
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index aa77824f8..df83d1481 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -2071,13 +2071,3 @@ string pkgAcqFile::Custom600Headers()
return "";
}
/*}}}*/
-bool IndexTarget::IsOptional() const {
- if (strncmp(ShortDesc.c_str(), "Translation", 11) != 0)
- return false;
- return true;
-}
-bool IndexTarget::IsSubIndex() const {
- if (ShortDesc != "TranslationIndex")
- return false;
- return true;
-}