diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-19 14:07:51 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-19 14:07:51 +0100 |
commit | 27da8141d21cfbfc29675510737ee05bdfd4a2b1 (patch) | |
tree | 008e311e4c24dbfce3f47643d962cfa67a333a68 /cmdline/apt-extracttemplates.h | |
parent | 386566e36bedb453eb6f914e8e14fd555a2bf111 (diff) | |
parent | 6fd947bd48449652edf783cfb1362391e63f9be1 (diff) |
merged from lp:~donkult/apt/experimental
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; |