]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: fix BoundedKeyCounter const_pointer_iterator 18953/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 15 Nov 2017 21:03:00 +0000 (16:03 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 15 Nov 2017 21:31:27 +0000 (16:31 -0500)
commitfa034b69982285b800b0d85d1054a3c25a88d625
tree172c1ec0bd2f097aeca5a057a2bed773dfa192c7
parent297cd6cc4c089de929dad1defd4b425b067a4d6e
common: fix BoundedKeyCounter const_pointer_iterator

with libc++, clang fails to compile a call to:

  vector::assign(const_pointer_iterator, const_pointer_iterator)

because const_pointer_iterator does not satisfy the InputIterator
concept. added the necessary typedefs for value_type and reference
to reflect the pointer type

Fixes: http://tracker.ceph.com/issues/22139
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/bounded_key_counter.h