summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_rest_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_rest_client.h')
-rw-r--r--src/rgw/rgw_rest_client.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rgw/rgw_rest_client.h b/src/rgw/rgw_rest_client.h
index f3f9f7ff91c..82496cd304f 100644
--- a/src/rgw/rgw_rest_client.h
+++ b/src/rgw/rgw_rest_client.h
@@ -9,8 +9,6 @@ class RGWGetDataCB;
class RGWRESTSimpleRequest : public RGWHTTPClient {
protected:
- CephContext *cct;
-
int status;
string url;
@@ -29,7 +27,7 @@ protected:
int sign_request(RGWAccessKey& key, RGWEnv& env, req_info& info);
public:
RGWRESTSimpleRequest(CephContext *_cct, string& _url, list<pair<string, string> > *_headers,
- list<pair<string, string> > *_params) : cct(_cct), status(0), url(_url), send_iter(NULL),
+ list<pair<string, string> > *_params) : RGWHTTPClient(_cct), status(0), url(_url), send_iter(NULL),
max_response(0) {
if (_headers)
headers = *_headers;