From: Adam C. Emerson Date: Thu, 10 Nov 2016 19:56:17 +0000 (-0500) Subject: rbd: Move template specialization declaration before include X-Git-Tag: v11.1.0~241^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=10e5b70f0f0ecd386aa94948287ec2236c8ddaff;p=ceph.git rbd: Move template specialization declaration before include The include file was implicitly specializing instantiating the template. Signed-off-by: Adam C. Emerson --- diff --git a/src/test/rbd_mirror/test_mock_ImageSync.cc b/src/test/rbd_mirror/test_mock_ImageSync.cc index 3d3983adf76c..9fbc76075387 100644 --- a/src/test/rbd_mirror/test_mock_ImageSync.cc +++ b/src/test/rbd_mirror/test_mock_ImageSync.cc @@ -39,8 +39,8 @@ struct TypeTraits { } // namespace librbd // template definitions -#include "tools/rbd_mirror/ImageSync.cc" template class rbd::mirror::ImageSync; +#include "tools/rbd_mirror/ImageSync.cc" namespace rbd { namespace mirror {