summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-14 13:02:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-14 13:02:11 +0000
commitae14345bbfce23728baefb9db26ff8e73ea13ad7 (patch)
tree89efa19ce3bd6f76ad2ce5d22fccd17214e8d244 /protocols/SkypeWeb
parent8a301456a87c7c602523a669a067b7fafbc3db71 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r--protocols/SkypeWeb/src/http_request.h14
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 &param)
{
@@ -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 &param)
+ HttpRequestHeaders& operator<<(const VALUE &param)
{
Add(param.szName);
return *this;
}
- HttpRequestHeaders & operator<<(const CHAR_VALUE &param)
+ HttpRequestHeaders& operator<<(const CHAR_VALUE &param)
{
Add(param.szName, param.szValue);
return *this;
}
- HttpRequestHeaders & operator<<(const FORMAT_VALUE &param)
+ HttpRequestHeaders& operator<<(const FORMAT_VALUE &param)
{
Add(param.szName, param.szValue);
return *this;