summaryrefslogtreecommitdiffstats
path: root/src/test/rbd_mirror/test_mock_ImageSync.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rbd_mirror/test_mock_ImageSync.cc')
-rw-r--r--src/test/rbd_mirror/test_mock_ImageSync.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rbd_mirror/test_mock_ImageSync.cc b/src/test/rbd_mirror/test_mock_ImageSync.cc
index 8414f8ce604..c858f412315 100644
--- a/src/test/rbd_mirror/test_mock_ImageSync.cc
+++ b/src/test/rbd_mirror/test_mock_ImageSync.cc
@@ -19,7 +19,7 @@ namespace librbd {
namespace {
struct MockTestImageCtx : public librbd::MockImageCtx {
- MockTestImageCtx(librbd::ImageCtx &image_ctx)
+ explicit MockTestImageCtx(librbd::ImageCtx &image_ctx)
: librbd::MockImageCtx(image_ctx) {
}
};