]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/rados: define iterator without std::iterator<>
authorKefu Chai <tchaikov@gmail.com>
Mon, 28 Feb 2022 15:01:27 +0000 (23:01 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 1 Mar 2022 16:29:28 +0000 (00:29 +0800)
commit905969611d256b6613bd86347bd51ddeb0603b79
tree313c77dddf07fd20bfe63a80b39ce7b5d12f03ca
parentc662ee698c6366e1b53856eb1a2c903c301a426f
include/rados: define iterator without std::iterator<>

std::iterator<> is deprecated in C++17, so let's just
define the required traits directly.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/include/rados/librados.hpp