]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.h
fix test to not spoil output with warnings
[apt.git] / apt-pkg / indexrecords.h
index 06b9dafa68899d5c9076eb4ff575f894c7e49bd4..35e534c12c0da9a6e582eb9d0d8dc8a9ab1e12fb 100644 (file)
@@ -42,8 +42,12 @@ class indexRecords
    std::map<std::string,checkSum *> Entries;
 
    public:
-
+#if APT_PKG_ABI >= 413
    indexRecords(const std::string &ExpectedDist = "");
+#else
+   indexRecords();
+   indexRecords(const std::string ExpectedDist);
+#endif
 
    // Lookup function
    virtual checkSum *Lookup(const std::string MetaKey);