]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/tagfile.h
revert useless abibreak in sourceslist.h
[apt.git] / apt-pkg / tagfile.h
index 99e2a8d938a07cb18e7e5a6193d73631f7e7a214..ac6d42089fac2e06ae4a03645c9b20bb93668270 100644 (file)
@@ -86,7 +86,13 @@ class pkgTagSection
     * @return \b true if section end was found, \b false otherwise.
     *  Beware that internal state will be inconsistent if \b false is returned!
     */
+#if APT_PKG_ABI >= 413
    APT_MUSTCHECK bool Scan(const char *Start, unsigned long MaxLength, bool const Restart = true);
+#else
+   APT_MUSTCHECK bool Scan(const char *Start, unsigned long MaxLength, bool const Restart);
+   APT_MUSTCHECK bool Scan(const char *Start, unsigned long MaxLength);
+#endif
+
    inline unsigned long size() const {return Stop - Section;};
    void Trim();
    virtual void TrimRecord(bool BeforeRecord, const char* &End);