X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Ftest%2Flibrbd%2Fmock%2FMockImageCtx.h;h=3e1483d2d02f93aac16039406c53492a4298c549;hb=20effc670b57271cb089376d6d0800990e5218d5;hp=521ecff0c8f32e36cf9c2f1f0e6ad534b8e77c08;hpb=a71831dadd1e1f3e0fa70405511f65cc33db0498;p=ceph.git diff --git a/ceph/src/test/librbd/mock/MockImageCtx.h b/ceph/src/test/librbd/mock/MockImageCtx.h index 521ecff0c..3e1483d2d 100644 --- a/ceph/src/test/librbd/mock/MockImageCtx.h +++ b/ceph/src/test/librbd/mock/MockImageCtx.h @@ -16,7 +16,6 @@ #include "test/librbd/mock/MockReadahead.h" #include "test/librbd/mock/io/MockImageDispatcher.h" #include "test/librbd/mock/io/MockObjectDispatcher.h" -#include "common/RWLock.h" #include "common/WorkQueue.h" #include "common/zipkin_trace.h" #include "librbd/ImageCtx.h" @@ -171,7 +170,7 @@ struct MockImageCtx { MOCK_CONST_METHOD1(get_parent_info, const ParentImageInfo*(librados::snap_t)); MOCK_CONST_METHOD2(get_parent_overlap, int(librados::snap_t in_snap_id, uint64_t *overlap)); - MOCK_CONST_METHOD2(prune_parent_extents, uint64_t(vector >& , + MOCK_CONST_METHOD2(prune_parent_extents, uint64_t(std::vector >& , uint64_t)); MOCK_CONST_METHOD2(is_snap_protected, int(librados::snap_t in_snap_id,