summaryrefslogtreecommitdiff
path: root/src/net/serverurlinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-13 17:57:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-13 17:57:32 +0300
commitc4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf (patch)
tree37b78a9b847d938b5a34acf2f000fef3f31eef44 /src/net/serverurlinfo.h
parent1302ad311b666459c4de36420af09c2a1e7867d0 (diff)
downloadmv-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.gz
mv-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.bz2
mv-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.xz
mv-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.zip
Add missing const references to constructor parameters.
Diffstat (limited to 'src/net/serverurlinfo.h')
-rw-r--r--src/net/serverurlinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/serverurlinfo.h b/src/net/serverurlinfo.h
index 8ef5b4d7b..ea04a8c2f 100644
--- a/src/net/serverurlinfo.h
+++ b/src/net/serverurlinfo.h
@@ -33,8 +33,8 @@ struct ServerUrlInfo final
{
}
- ServerUrlInfo(const std::string name0,
- const std::string url0) :
+ ServerUrlInfo(const std::string &name0,
+ const std::string &url0) :
name(name0),
url(url0)
{