]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd: remove duplicated explicit template specializations
authorKefu Chai <kchai@redhat.com>
Mon, 1 May 2017 04:46:36 +0000 (12:46 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 4 May 2017 01:40:07 +0000 (09:40 +0800)
to avoid violation of ODR

Fixes: http://tracker.ceph.com/issues/18938
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc

index 1f8b4addf05c40f6847c768bed35bf619dc51e13..1341864720e3f8223ef48c96624db3501a37fcb4 100644 (file)
@@ -70,10 +70,6 @@ struct AsyncRequest<MockOperationImageCtx> : public AsyncRequest<MockImageCtx> {
 #include "librbd/operation/Request.cc"
 #include "librbd/operation/SnapshotRollbackRequest.cc"
 
-template class librbd::AsyncRequest<librbd::MockImageCtx>;
-template class librbd::AsyncObjectThrottle<librbd::MockImageCtx>;
-template class librbd::operation::Request<librbd::MockImageCtx>;
-
 namespace librbd {
 namespace operation {