]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.h
tests: don't do boundless string compares with data()
[apt.git] / methods / rsh.h
index 571e38ba64baba53a062987b1f0fb1f9facf0081..dee4ad647fff45afa8adc2e77ab06c753e1e2c35 100644 (file)
@@ -58,7 +58,6 @@ class RSHConn
 
 class RSHMethod : public aptMethod
 {
-   std::string const Prog;
    virtual bool Fetch(FetchItem *Itm) APT_OVERRIDE;
    virtual bool Configuration(std::string Message) APT_OVERRIDE;
 
@@ -71,7 +70,7 @@ class RSHMethod : public aptMethod
 
    public:
 
-   explicit RSHMethod(std::string const &Prog);
+   explicit RSHMethod(std::string &&Prog);
 };
 
 #endif