]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #13437 from Liuchang0812/cleanup-rbd
authorJason Dillaman <dillaman@redhat.com>
Fri, 17 Feb 2017 13:03:24 +0000 (08:03 -0500)
committerGitHub <noreply@github.com>
Fri, 17 Feb 2017 13:03:24 +0000 (08:03 -0500)
librbd: use 'override' keyword instead of 'virtual'

1  2 
src/librbd/Watcher.cc
src/test/rbd_mirror/test_ImageDeleter.cc
src/test/rbd_mirror/test_ImageReplayer.cc
src/test/rbd_mirror/test_mock_ImageReplayer.cc
src/tools/rbd_mirror/ImageDeleter.cc
src/tools/rbd_mirror/ImageReplayer.cc
src/tools/rbd_mirror/Replayer.cc
src/tools/rbd_nbd/rbd-nbd.cc

Simple merge
index 4db6ee4f3ee67c5d1d9d244fd4f3c791b575adc3,5b717c5b5fe3ec5a25625bfd5d08b62bfe63f060..697f041949211cd4a9d3c8e4b47bab82ee59bca2
@@@ -265,12 -265,12 +265,12 @@@ public
      m_image_replayer = new MockImageReplayer(
        m_threads, m_image_deleter, m_image_sync_throttler,
        rbd::mirror::RadosRef(new librados::Rados(m_local_io_ctx)),
 -      rbd::mirror::RadosRef(new librados::Rados(m_remote_io_ctx)),
 -      "local_mirror_uuid", "remote_mirror_uuid", m_local_io_ctx.get_id(),
 -      m_remote_io_ctx.get_id(), m_remote_image_ctx->id, "global image id");
 +      "local_mirror_uuid", m_local_io_ctx.get_id(), "global image id");
 +    m_image_replayer->add_remote_image(
 +      "remote_mirror_uuid", m_remote_image_ctx->id, m_remote_io_ctx);
    }
  
-   virtual void TearDown() {
+   void TearDown() override {
      delete m_image_replayer;
  
      TestMockFixture::TearDown();
Simple merge
Simple merge
Simple merge
Simple merge