diff options
author | Radoslaw Zarzynski <rzarzyns@redhat.com> | 2018-03-27 16:49:54 +0200 |
---|---|---|
committer | Radoslaw Zarzynski <rzarzyns@redhat.com> | 2018-12-01 21:22:23 +0100 |
commit | fbe8a3287d598d2425d257e7696034c543031537 (patch) | |
tree | aff442e3963d6aa6e0ed23b021ab1f590f83fee6 /src/os/ObjectStore.h | |
parent | Merge pull request #25126 from xiexingguo/wip-heartbeat-bs (diff) | |
download | ceph-fbe8a3287d598d2425d257e7696034c543031537.tar.xz ceph-fbe8a3287d598d2425d257e7696034c543031537.zip |
common: abstract the container type of bufferlist::_buffers.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src/os/ObjectStore.h')
-rw-r--r-- | src/os/ObjectStore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 3c2ced9af05..dc426aca292 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -696,8 +696,8 @@ public: vector<__le32> &cm, vector<__le32> &om) { - list<bufferptr> list = bl.buffers(); - std::list<bufferptr>::iterator p; + ceph::bufferlist::buffers_t list = bl.buffers(); + ceph::bufferlist::buffers_t::iterator p; for(p = list.begin(); p != list.end(); ++p) { ceph_assert(p->length() % sizeof(Op) == 0); |