From b0181dfe8fe1294d10bf9ceee399072dbabd7360 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 15 Jul 2013 18:45:00 +0200 Subject: [PATCH] Warning fix --- net/url.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/url.h b/net/url.h index a5c3b51c35..734ef0ccd2 100644 --- a/net/url.h +++ b/net/url.h @@ -17,7 +17,7 @@ struct UrlEncoder UrlEncoder() : paramCount(0) { data.reserve(256); - }; + } void Add(const std::string &key, const std::string &value) { @@ -106,7 +106,7 @@ struct UrlEncoder class Url { public: - Url(const std::string url) : url_(url), valid_(false) { + Url(const std::string url) : valid_(false), url_(url) { Split(); }