diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 13:31:29 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 13:31:29 +0200 |
commit | 8f3ba4e8708cb72be19dacc2af4f601ee5fea292 (patch) | |
tree | f624675aa3d4add287f253e19eb28c0dce5669f1 /apt-pkg/vendor.cc | |
parent | c333ea435b67d7d7d7d10e867298ecac4da0f7b8 (diff) |
do not pollute namespace in the headers with using (Closes: #500198)
Diffstat (limited to 'apt-pkg/vendor.cc')
-rw-r--r-- | apt-pkg/vendor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/vendor.cc b/apt-pkg/vendor.cc index eab6d448f..36fc25957 100644 --- a/apt-pkg/vendor.cc +++ b/apt-pkg/vendor.cc @@ -22,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; } |