]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/config: move config_obs_t's dtor back
authorKefu Chai <kchai@redhat.com>
Fri, 27 Feb 2015 08:10:05 +0000 (16:10 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Feb 2015 08:46:11 +0000 (16:46 +0800)
so one can find the impl of config_obs_t at the expected place.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/config.cc
src/common/config_obs.h

index 88f443d86e06cec1bd3081886946450774c0f6d6..fda0c2226d928fe90ddfdf8a2dc931f1e4c20512 100644 (file)
@@ -1132,8 +1132,3 @@ void md_config_t::diff(
       diff->insert(make_pair(opt->name, make_pair(local_val, other_val)));
   }
 }
-
-md_config_obs_t::
-~md_config_obs_t()
-{
-}
index f15d934001be1cb48fc3573851d24f0d38c0ebd2..0328d32d835382a5cc62ada8bff7b0945347733a 100644 (file)
@@ -22,7 +22,7 @@ struct md_config_t;
 
 class md_config_obs_t {
 public:
-  virtual ~md_config_obs_t();
+  virtual ~md_config_obs_t() {}
   virtual const char** get_tracked_conf_keys() const = 0;
   virtual void handle_conf_change(const struct md_config_t *conf,
                                  const std::set <std::string> &changed) = 0;