]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/rbd_mirror/test_mock_fixture.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / test / rbd_mirror / test_mock_fixture.h
index 1f7dfb0319e7dab814f1099f774fff0261252362..16b6dc6b8b1d978c705998b65d0b3b4c74679752 100644 (file)
@@ -7,6 +7,7 @@
 #include "test/rbd_mirror/test_fixture.h"
 #include "test/librados_test_stub/LibradosTestStub.h"
 #include "common/WorkQueue.h"
+#include "librbd/asio/ContextWQ.h"
 #include <boost/shared_ptr.hpp>
 #include <gmock/gmock.h>
 #include "include/ceph_assert.h"
@@ -31,7 +32,7 @@ ACTION_P(CompleteContext, r) {
 }
 
 ACTION_P2(CompleteContext, wq, r) {
-  ContextWQ *context_wq = reinterpret_cast<ContextWQ *>(wq);
+  auto context_wq = reinterpret_cast<librbd::asio::ContextWQ *>(wq);
   context_wq->queue(arg0, r);
 }