]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/md5.h
detect redirection loops in acquire instead of workers
[apt.git] / apt-pkg / contrib / md5.h
index 195455645ce895db003ae06d11fe8eca8d6aec87..a16ea4d2d673dd09a73a567b2478b669548552ab 100644 (file)
 #ifndef APTPKG_MD5_H
 #define APTPKG_MD5_H
 
-
-#include <string>
-#include <cstring>
-#include <algorithm>
 #include <stdint.h>
 
 #include "hashsum_template.h"
 
+#ifndef APT_10_CLEANER_HEADERS
+#include <string>
+#include <cstring>
+#include <algorithm>
+#endif
 #ifndef APT_8_CLEANER_HEADERS
 using std::string;
 using std::min;
@@ -47,7 +48,7 @@ class MD5Summation : public SummationImplementation
 
    public:
 
-   bool Add(const unsigned char *inbuf, unsigned long long inlen);
+   bool Add(const unsigned char *inbuf, unsigned long long inlen) APT_OVERRIDE;
    using SummationImplementation::Add;
 
    MD5SumValue Result();