diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-15 09:13:21 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-12-15 09:13:21 +0100 |
commit | 73688d27f60b2da3889a06362ee567101e3b331e (patch) | |
tree | f4b73eb02bd8a9542f452126aeaf1c06387cd392 /cmdline/apt-extracttemplates.h | |
parent | 12d1f5b3e295c589371bf7de27b7918310d08480 (diff) |
atleast libapt should announce to itself that it is clean…
(and be it if it tries to announce that…)
Diffstat (limited to 'cmdline/apt-extracttemplates.h')
-rw-r--r-- | cmdline/apt-extracttemplates.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cmdline/apt-extracttemplates.h b/cmdline/apt-extracttemplates.h index d0f90d3f4..6d07a09c2 100644 --- a/cmdline/apt-extracttemplates.h +++ b/cmdline/apt-extracttemplates.h @@ -14,6 +14,8 @@ #include <apt-pkg/pkgcache.h> #include <apt-pkg/dirstream.h> +#include <string> + class DebFile : public pkgDirStream { FileFd File; @@ -31,11 +33,11 @@ public: bool Go(); bool ParseInfo(); - static string GetInstalledVer(const string &package); + static std::string GetInstalledVer(const std::string &package); - string Package; - string Version; - string DepVer, PreDepVer; + std::string Package; + std::string Version; + std::string DepVer, PreDepVer; unsigned int DepOp, PreDepOp; char *Config; |