]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: fix unused function warnings due to explicit template instantiation 13416/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 7 Dec 2016 14:07:47 +0000 (09:07 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 14 Feb 2017 22:47:45 +0000 (17:47 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/librbd/operation/test_mock_Request.cc
src/test/librbd/test_mock_AioImageRequest.cc
src/test/librbd/test_mock_ExclusiveLock.cc
src/test/rbd_mirror/test_mock_LeaderWatcher.cc

index 7196c8cc1b29e5a0994f6c94b55bc7d57dcc4285..df0e38d11f841c906d8ff69d3ab7f8869ba6b9aa 100644 (file)
@@ -41,7 +41,6 @@ struct AsyncRequest<librbd::MockTestImageCtx> {
 } // namespace librbd
 
 #include "librbd/operation/Request.cc"
-template class librbd::operation::Request<librbd::MockTestImageCtx>;
 
 namespace librbd {
 namespace journal {
index de1d5bde5024031cf4d9d23b4c93ad03d7e448cb..aafe2b62d969c9205ea2859bd09ed4395b02d950 100644 (file)
@@ -129,8 +129,6 @@ AioObjectRead<librbd::MockTestImageCtx>* AioObjectRead<librbd::MockTestImageCtx>
 
 #include "librbd/AioImageRequest.cc"
 
-template class librbd::AioImageRequest<librbd::MockTestImageCtx>;
-
 namespace librbd {
 
 using ::testing::_;
index b05bef2a1455b11054e3b9df11a7f8975fb9bcc1..68ceda2779774f747ec6d81973033a2998ae5e94 100644 (file)
@@ -136,7 +136,6 @@ struct PreReleaseRequest<MockExclusiveLockImageCtx> : public BaseRequest<PreRele
 
 // template definitions
 #include "librbd/ExclusiveLock.cc"
-template class librbd::ExclusiveLock<librbd::MockExclusiveLockImageCtx>;
 
 ACTION_P(FinishLockUnlock, request) {
   if (request->on_lock_unlock != nullptr) {
index f827e180ad9ee0f60f61b42ac4607faba40409a6..211c1b205d61cf59aecce574a8727e8c10662b80 100644 (file)
@@ -98,7 +98,6 @@ struct ManagedLock<MockTestImageCtx> {
 
 // template definitions
 #include "tools/rbd_mirror/LeaderWatcher.cc"
-template class rbd::mirror::LeaderWatcher<librbd::MockTestImageCtx>;
 
 namespace rbd {
 namespace mirror {