From bf4eca5b90e915a7273fe9f746187740683ceabe Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Mon, 8 Dec 2014 18:18:06 +0100 Subject: trying to make this fit in gcc-4.6s little brain Change-Id: I0c247a0f316b6700017ae0668b41497811924577 --- sw/inc/ring.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/inc') diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index 59c39814d9b3..d1e46a6ba9df 100644 --- a/sw/inc/ring.hxx +++ b/sw/inc/ring.hxx @@ -105,14 +105,15 @@ namespace sw #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 7) // gcc 4.6 backwards compat hack, remove ASAP when we drop support template friend class sw::RingContainer; + template friend class sw::RingIterator; #else friend ring_container; friend const_ring_container; -#endif friend typename ring_container::iterator; friend typename ring_container::const_iterator; friend typename const_ring_container::iterator; friend typename const_ring_container::const_iterator; +#endif friend class boost::iterator_core_access; typedef boost::intrusive::circular_list_algorithms algo; value_type* pNext; -- cgit