From c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 Jun 2017 17:57:32 +0300 Subject: Add missing const references to constructor parameters. --- src/net/serverurlinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/serverurlinfo.h') 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) { -- cgit v1.2.3-70-g09d2