From 10e5b70f0f0ecd386aa94948287ec2236c8ddaff Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Thu, 10 Nov 2016 14:56:17 -0500 Subject: [PATCH] rbd: Move template specialization declaration before include The include file was implicitly specializing instantiating the template. Signed-off-by: Adam C. Emerson --- src/test/rbd_mirror/test_mock_ImageSync.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rbd_mirror/test_mock_ImageSync.cc b/src/test/rbd_mirror/test_mock_ImageSync.cc index 3d3983adf76..9fbc7607538 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 { -- 2.39.5