diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-13 00:54:37 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-13 00:54:37 +0100 |
commit | a4f6bdc8bd91c7282ae9ac60c44844c6f0058a65 (patch) | |
tree | e72c9cda1f1b29c9bf0744c2ebf04c43d7b22500 /apt-pkg/contrib/hashes.h | |
parent | 699b209e5122f8fcd85fc4666c9b7020286ab0d0 (diff) |
revert 2184.1.2: do not pollute namespace in headers
The breakage is just to big for now, so guard the change with
#ifndef APT_8_CLEANER_HEADERS and be nice to library users
Diffstat (limited to 'apt-pkg/contrib/hashes.h')
-rw-r--r-- | apt-pkg/contrib/hashes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h index 81851dede..b206eccb8 100644 --- a/apt-pkg/contrib/hashes.h +++ b/apt-pkg/contrib/hashes.h @@ -22,6 +22,12 @@ #include <vector> #include <cstring> + +#ifndef APT_8_CLEANER_HEADERS +using std::min; +using std::vector; +#endif + // helper class that contains hash function name // and hash class HashString |