]> git.saurik.com Git - apt.git/blobdiff - methods/rred.cc
Add basic (non weight adjusted) shuffling for SrvRecords selection
[apt.git] / methods / rred.cc
index 54123ab9c5ecc3c720f5016fa06af863106d9998..91b6dda222bcaa6bcad72ba5880c76e3e6de8344 100644 (file)
@@ -558,7 +558,7 @@ class RredMethod : public pkgAcqMethod {
       }
 
    protected:
-      virtual bool URIAcquire(std::string const &Message, FetchItem *Itm) {
+      virtual bool URIAcquire(std::string const &Message, FetchItem *Itm) APT_OVERRIDE {
         Debug = _config->FindB("Debug::pkgAcquire::RRed", false);
         URI Get = Itm->Uri;
         std::string Path = Get.Host + Get.Path; // rred:/path - no host
@@ -671,7 +671,7 @@ class RredMethod : public pkgAcqMethod {
         return true;
       }
 
-      bool Configuration(std::string Message)
+      bool Configuration(std::string Message) APT_OVERRIDE
       {
         if (pkgAcqMethod::Configuration(Message) == false)
            return false;