From 8e3cd164c2a030ca9b1eec17e4c0d469f36d0b18 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Fri, 3 Feb 2017 22:33:04 +0000 Subject: [PATCH] Clean up friend template warnings from tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../../../tests/Common/Common.h:798:12: warning: class ‘FriendTemplate’ is implicitly friends with itself [enabled by default] friend FriendTemplate; ^ ../../../tests/Common/Common.h:799:18: warning: class ‘FriendTemplate’ is implicitly friends with itself [enabled by default] friend class FriendTemplate; --- tests/Common/Common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/Common/Common.h b/tests/Common/Common.h index 7ad8f6c2..0e5ce3bd 100644 --- a/tests/Common/Common.h +++ b/tests/Common/Common.h @@ -795,9 +795,6 @@ template class FriendTemplate template friend FriendTemplate func(const FriendTemplate&); - friend FriendTemplate; - friend class FriendTemplate; - template friend class FriendTemplate; };