]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
chore: fix two usages of std::iterator (deprecated) 61909/head
authorPaul Stemmet <github@luxolus.com>
Wed, 19 Feb 2025 16:33:39 +0000 (16:33 +0000)
committerPaul Stemmet <github@luxolus.com>
Tue, 25 Feb 2025 10:58:05 +0000 (10:58 +0000)
commitb551b453050c4efa0bd94427ebf076b959112fd0
tree1d974e11645ffb8f7e697d6203464cdce698960b
parent20b102147c97ecca2573f4cdc76b843b83ff5bd5
chore: fix two usages of std::iterator (deprecated)

This trait has been deprecated in C++17, with users instructed to
migrate to defining each associated type when implementing an iterator.

This quiets the _GLIBCXX17_DEPRECATED warnings when compiling the
project on a sufficiently new gcc.

This follows on from previous efforts in 8b8a96d (#45198).

References: https://github.com/ceph/ceph/pull/45198
References: https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated/
Signed-off-by: Paul Stemmet <github@luxolus.com>
src/include/rangeset.h
src/msg/async/dpdk/circular_buffer.h