]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_file: cleanup virtual keyword on derived functions 14908/head
authorGui Hecheng <guihecheng@cmss.chinamobile.com>
Tue, 2 May 2017 02:03:21 +0000 (10:03 +0800)
committerGui Hecheng <guihecheng@cmss.chinamobile.com>
Tue, 2 May 2017 08:29:04 +0000 (16:29 +0800)
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
src/rgw/rgw_file.h

index cdb72b92f3e68d9d5a03c1c1ccd91d03d506d71b..433356344e271dcaf842e7f3460219c52c7ba912 100644 (file)
@@ -1449,9 +1449,9 @@ public:
     op = this;
   }
 
-  virtual bool only_bucket() override { return false; }
+  bool only_bucket() override { return false; }
 
-  virtual int op_init() override {
+  int op_init() override {
     // assign store, s, and dialect_handler
     RGWObjectCtx* rados_ctx
       = static_cast<RGWObjectCtx*>(get_state()->obj_ctx);
@@ -1462,7 +1462,7 @@ public:
     return 0;
   }
 
-  virtual int header_init() override {
+  int header_init() override {
     struct req_state* s = get_state();
     s->info.method = "GET";
     s->op = OP_GET;
@@ -1484,12 +1484,12 @@ public:
     return 0;
   }
 
-  virtual int get_params() override {
+  int get_params() override {
     max = default_max;
     return 0;
   }
 
-  virtual void send_response() override {
+  void send_response() override {
     valid = true;
     if ((objs.size() > 1) ||
        (! objs.empty() &&