From 258b9e512c4001e806c5c0966acecd3d742ec6e9 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 4 Nov 2015 21:08:55 +0100 Subject: apply various suggestions made by cppcheck Reported-By: cppcheck Git-Dch: Ignore --- methods/rsh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'methods/rsh.h') 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 -- cgit v1.2.3