]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/vendor.cc
without a filename we can't stat pipes
[apt.git] / apt-pkg / vendor.cc
index fc03ec84583319e1509fbbea06c3a0628e3e61b8..d4add560e7869e38608d69ed19c34aadf9c4deee 100644 (file)
@@ -1,10 +1,14 @@
 #include<config.h>
 
 #include<config.h>
 
-#include <iostream>
-#include <apt-pkg/error.h>
 #include <apt-pkg/vendor.h>
 #include <apt-pkg/configuration.h>
 
 #include <apt-pkg/vendor.h>
 #include <apt-pkg/configuration.h>
 
+#include <iostream>
+#include <map>
+#include <string>
+#include <utility>
+#include <vector>
+
 Vendor::Vendor(std::string VendorID,
                std::string Origin,
               std::vector<struct Vendor::Fingerprint *> *FingerprintList)
 Vendor::Vendor(std::string VendorID,
                std::string Origin,
               std::vector<struct Vendor::Fingerprint *> *FingerprintList)
@@ -31,7 +35,7 @@ const std::string Vendor::LookupFingerprint(std::string Print) const
       return (*Elt).second;
 }
 
       return (*Elt).second;
 }
 
-bool Vendor::CheckDist(std::string Dist)
+APT_CONST bool Vendor::CheckDist(std::string /*Dist*/)
 {
    return true;
 }
 {
    return true;
 }