]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: Move template specialization declaration before include
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 10 Nov 2016 19:56:17 +0000 (14:56 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 17 Nov 2016 00:54:31 +0000 (19:54 -0500)
The include file was implicitly specializing instantiating the
template.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/test/rbd_mirror/test_mock_ImageSync.cc

index 3d3983adf76ce277e41d8bc56f7267b0b18278e2..9fbc76075387ffca28b27f2d9bb26323a7202f1d 100644 (file)
@@ -39,8 +39,8 @@ struct TypeTraits<librbd::MockTestImageCtx> {
 } // namespace librbd
 
 // template definitions
-#include "tools/rbd_mirror/ImageSync.cc"
 template class rbd::mirror::ImageSync<librbd::MockTestImageCtx>;
+#include "tools/rbd_mirror/ImageSync.cc"
 
 namespace rbd {
 namespace mirror {