]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/xlist: define iterator without std::iterator<>
authorKefu Chai <tchaikov@gmail.com>
Tue, 1 Mar 2022 16:14:09 +0000 (00:14 +0800)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 29 Jun 2023 11:59:21 +0000 (06:59 -0500)
commita1e446936297afe2d1ecccee7e897112c659bd76
tree51214c204321926c12a33fd9bd889d45674a4cb2
parent8b1ccd330c84382dee53978d4bfd1f1356258e03
include/xlist: 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>
(cherry picked from commit 77a3ed56a7b7326814ea5d37214bec1d88ec334e)
src/include/xlist.h