]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/buffer: expose hidden const deference operator
authorJason Dillaman <dillaman@redhat.com>
Fri, 13 Oct 2017 15:03:25 +0000 (11:03 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 15 Oct 2017 13:13:06 +0000 (09:13 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/buffer.h

index 3c4e7c7e278f1b8bd67b4c3966ae18c3d67be6ef..f7141f358f46657247fe6ef63d2dce3eb53e76e9 100644 (file)
@@ -446,6 +446,7 @@ namespace buffer CEPH_BUFFER_API {
 
       void advance(int o);
       void seek(unsigned o);
+      using iterator_impl<false>::operator*;
       char operator*();
       iterator& operator++();
       ptr get_current_ptr();