]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv/KeyValueDB: use public iterator interface simple; hide prefixing one
authorSage Weil <sage@redhat.com>
Fri, 29 Sep 2017 21:13:08 +0000 (16:13 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Oct 2017 18:46:23 +0000 (13:46 -0500)
commit953232c92b1f2b246778d376bdfef754c7489ed3
tree80f788795c4a062c96a350b0ce48a55cfd60da47
parentc9d54b6db1eabc1f2ffc685fcae39942ab053f41
kv/KeyValueDB: use public iterator interface simple; hide prefixing one

This uses the most general class as the type for the Iterator
shared_ptr typedef, and makes the class that filters by prefix
private.

Signed-off-by: Sage Weil <sage@redhat.com>
src/kv/KeyValueDB.h