]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.h
fix progress-segfault in case of dpkg errors/prompts
[apt.git] / cmdline / apt-extracttemplates.h
index d0f90d3f490fbac49cf827caf8169723bcf4d74a..6d07a09c20e50d684e4d04dc923e930607b4a3d7 100644 (file)
@@ -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;