summaryrefslogtreecommitdiff
path: root/methods/rsh.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-11-04 21:08:55 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-05 12:21:33 +0100
commit258b9e512c4001e806c5c0966acecd3d742ec6e9 (patch)
treec8bdbb43dd9e1b5d54b90e4845065a653d585ca5 /methods/rsh.h
parent9fb4e6510faaa9c84b88d4cb567bf3deebf8e0b7 (diff)
downloadapt-258b9e512c4001e806c5c0966acecd3d742ec6e9.tar.gz
apply various suggestions made by cppcheck
Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'methods/rsh.h')
-rw-r--r--methods/rsh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/rsh.h b/methods/rsh.h
index 9ca14425f..35cbee3e0 100644
--- a/methods/rsh.h
+++ b/methods/rsh.h
@@ -49,7 +49,7 @@ class RSHConn
bool Get(const char *Path,FileFd &To,unsigned long long Resume,
Hashes &Hash,bool &Missing, unsigned long long Size);
- RSHConn(URI Srv);
+ explicit RSHConn(URI Srv);
~RSHConn();
};
@@ -71,7 +71,7 @@ class RSHMethod : public aptMethod
public:
- RSHMethod(std::string const &Prog);
+ explicit RSHMethod(std::string const &Prog);
};
#endif