]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: fix ObjectIterator::operator= for the end iterator 1322/head
authorJosh Durgin <josh.durgin@inktank.com>
Wed, 26 Feb 2014 21:00:33 +0000 (13:00 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 28 Feb 2014 16:16:28 +0000 (08:16 -0800)
commitbfad17bfa973a287346acde06174af01665ad596
tree2ca8f51509db2fb132f73c5d7151ba9263a9d388
parent7ba3200f1e91d803cdf84f96777641f7d18d3c01
librados: fix ObjectIterator::operator= for the end iterator

We can't set a shared_ptr to NULL, we need to reset it instead. Add
another test for various permutations of this.

Fixes: #7538
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/librados/librados.cc
src/test/librados/list.cc