]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.h
avoid using global PendingError to avoid failing too often too soon
[apt.git] / cmdline / apt-extracttemplates.h
index 6d2870a02365cd48730a9cd237e7e39bf6a97022..91e385e70e475dc2261561815e3bf2486597d1b5 100644 (file)
@@ -24,11 +24,11 @@ class DebFile : public pkgDirStream
        unsigned long ControlLen;
        
 public:
        unsigned long ControlLen;
        
 public:
-       DebFile(const char *FileName);
+       explicit DebFile(const char *FileName);
        ~DebFile();
        ~DebFile();
-       bool DoItem(Item &I, int &fd);
+       bool DoItem(Item &I, int &fd) APT_OVERRIDE;
        bool Process(pkgDirStream::Item &I, const unsigned char *data, 
        bool Process(pkgDirStream::Item &I, const unsigned char *data, 
-               unsigned long size, unsigned long pos);
+               unsigned long long size, unsigned long long pos) APT_OVERRIDE;
 
        bool Go();
        bool ParseInfo();
 
        bool Go();
        bool ParseInfo();