]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/librbd/operation/test_mock_SnapshotUnprotectRequest.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / test / librbd / operation / test_mock_SnapshotUnprotectRequest.cc
index e1b4d69f93d74ce8824ea086502e72e531b3593d..da344dcb9646150ce53e98cc85e3ab06fddc88ca 100644 (file)
@@ -51,8 +51,8 @@ public:
   void expect_set_protection_status(MockImageCtx &mock_image_ctx,
                                     uint64_t snap_id, uint8_t status, int r) {
     bufferlist bl;
-    ::encode(snap_id, bl);
-    ::encode(status, bl);
+    encode(snap_id, bl);
+    encode(status, bl);
 
     auto &expect = EXPECT_CALL(get_mock_io_ctx(mock_image_ctx.md_ctx),
                                exec(mock_image_ctx.header_oid, _, StrEq("rbd"),
@@ -87,7 +87,7 @@ public:
   void expect_get_children(MockImageCtx &mock_image_ctx, size_t pools, int r) {
     bufferlist bl;
     std::set<std::string> children;
-    ::encode(children, bl);
+    encode(children, bl);
 
     auto &expect = EXPECT_CALL(get_mock_io_ctx(mock_image_ctx.md_ctx),
                                exec(RBD_CHILDREN, _, StrEq("rbd"), StrEq("get_children"), _,