From 87633bd91fa4df9ef55347e42bef077625e3d1ba Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 1 May 2017 12:46:36 +0800 Subject: [PATCH] test/librbd: remove duplicated explicit template specializations to avoid violation of ODR Fixes: http://tracker.ceph.com/issues/18938 Signed-off-by: Kefu Chai --- .../librbd/operation/test_mock_SnapshotRollbackRequest.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc b/src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc index 1f8b4addf05c..1341864720e3 100644 --- a/src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc +++ b/src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc @@ -70,10 +70,6 @@ struct AsyncRequest : public AsyncRequest { #include "librbd/operation/Request.cc" #include "librbd/operation/SnapshotRollbackRequest.cc" -template class librbd::AsyncRequest; -template class librbd::AsyncObjectThrottle; -template class librbd::operation::Request; - namespace librbd { namespace operation { -- 2.47.3