]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client, librados, osdc: do not shadow Dispatcher::cct 3196/head
authorKefu Chai <tchaikov@gmail.com>
Wed, 17 Dec 2014 12:58:09 +0000 (20:58 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 17 Dec 2014 18:51:13 +0000 (02:51 +0800)
commitaea232c927ad65084ff735d8a1888f970536e5be
tree34cb01c5b69b654d1256de6eef108514d9bdc1f0
parent0c9d55d404f73ecd47987cc84eadd791b6345493
client, librados, osdc: do not shadow Dispatcher::cct

* there is no need to have another cct as Dispatch has one already.
* by `using` the parent member variable in `public`, we expose `cct`
  as part of the interface. so that `cct` can be accessed from
  outside the class.
* and in Objecter, the ctor is initiating its parent class using the
  uninitialized member variable cct. better off fixing this.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/client/Client.cc
src/client/Client.h
src/librados/RadosClient.cc
src/librados/RadosClient.h
src/osdc/Objecter.h