summaryrefslogtreecommitdiff
path: root/src/Netrc.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2014-05-28 03:41:09 +0200
committerNils Maier <maierman@web.de>2014-05-29 19:38:34 +0200
commitb9fe4119c0f7165669e87cb1423efb030eb96c4d (patch)
treebe711120896da0db842537c0bf2a0b864c0182ec /src/Netrc.cc
parentc8ccb434288dff750ff7a8d22d0551043b1eb1e5 (diff)
New round of clang-modernize
Diffstat (limited to 'src/Netrc.cc')
-rw-r--r--src/Netrc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Netrc.cc b/src/Netrc.cc
index fc7b3aaa..c36c83e6 100644
--- a/src/Netrc.cc
+++ b/src/Netrc.cc
@@ -228,7 +228,7 @@ class AuthHostMatch {
private:
std::string hostname;
public:
- AuthHostMatch(const std::string& hostname):hostname(hostname) {}
+ AuthHostMatch(std::string hostname) : hostname(std::move(hostname)) {}
bool operator()(const std::unique_ptr<Authenticator>& authenticator)
{