diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-14 13:02:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-14 13:02:11 +0000 |
commit | ae14345bbfce23728baefb9db26ff8e73ea13ad7 (patch) | |
tree | 89efa19ce3bd6f76ad2ce5d22fccd17214e8d244 /protocols | |
parent | 8a301456a87c7c602523a669a067b7fafbc3db71 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/http_request.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index d754524f55..532c8cf61c 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -53,7 +53,8 @@ struct FORMAT_VALUE : public VALUE class HttpRequest : public NETLIBHTTPREQUEST, public MZeroedObject
{
-private:
+ HttpRequest& operator=(const HttpRequest&); // to prevent copying;
+
va_list formatArgs;
CMStringA url;
@@ -79,6 +80,8 @@ protected: request.szUrl = request.url.GetBuffer();
}
+ HttpRequestUrl& operator=(const HttpRequestUrl&); // to prevent copying;
+
public:
HttpRequestUrl &operator<<(const VALUE ¶m)
{
@@ -106,7 +109,8 @@ protected: class HttpRequestHeaders
{
- private:
+ HttpRequestHeaders& operator=(const HttpRequestHeaders&); // to prevent copying;
+
HttpRequest &request;
void Add(LPCSTR szName)
@@ -126,19 +130,19 @@ protected: public:
HttpRequestHeaders(HttpRequest &request) : request(request) { }
- HttpRequestHeaders & operator<<(const VALUE ¶m)
+ HttpRequestHeaders& operator<<(const VALUE ¶m)
{
Add(param.szName);
return *this;
}
- HttpRequestHeaders & operator<<(const CHAR_VALUE ¶m)
+ HttpRequestHeaders& operator<<(const CHAR_VALUE ¶m)
{
Add(param.szName, param.szValue);
return *this;
}
- HttpRequestHeaders & operator<<(const FORMAT_VALUE ¶m)
+ HttpRequestHeaders& operator<<(const FORMAT_VALUE ¶m)
{
Add(param.szName, param.szValue);
return *this;
|