]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/vendor.cc
revert 2184.1.3: forward declaration instead of headers
[apt.git] / apt-pkg / vendor.cc
index 2350afe693f2d1ca3ac47a0f1fcfd7e3f1b4671b..36fc2595714c6171c004e8bc9f5a19b2e762d06a 100644 (file)
@@ -1,3 +1,5 @@
+#include<config.h>
+
 #include <iostream>
 #include <apt-pkg/error.h>
 #include <apt-pkg/vendor.h>
@@ -20,16 +22,16 @@ Vendor::Vendor(std::string VendorID,
    delete FingerprintList;
 }
 
-const string Vendor::LookupFingerprint(string Print) const
+const std::string Vendor::LookupFingerprint(std::string Print) const
 {
-   std::map<string,string>::const_iterator Elt = Fingerprints.find(Print);
+   std::map<std::string,std::string>::const_iterator Elt = Fingerprints.find(Print);
    if (Elt == Fingerprints.end())
       return "";
    else
       return (*Elt).second;
 }
 
-bool Vendor::CheckDist(string Dist)
+bool Vendor::CheckDist(std::string Dist)
 {
    return true;
 }