* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
[ntk/apt.git] / apt-pkg / acquire-item.h
index 13be17a..6c8341b 100644 (file)
@@ -691,6 +691,14 @@ class OptionalIndexTarget : public IndexTarget
                                                                        /*}}}*/
 /** \brief Information about an subindex index file. */                        /*{{{*/
 class SubIndexTarget : public IndexTarget
+{
+   virtual bool IsSubIndex() const {
+      return true;
+   }
+};
+                                                                       /*}}}*/
+/** \brief Information about an subindex index file. */                        /*{{{*/
+class OptionalSubIndexTarget : public OptionalIndexTarget
 {
    virtual bool IsSubIndex() const {
       return true;