[Libreoffice-commits] core.git: sw/inc
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Mon Dec 1 16:57:29 PST 2014
sw/inc/ring.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fae52f7e6532bd96a3d66bf614c54ed244ed3a60
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Tue Dec 2 01:56:33 2014 +0100
unconfuse clang about the nature of struct-class-duality of traits
Change-Id: I030ab87d489cadce0b0e7a64744cef941268132d
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index b4d4043..e8e0f9c 100644
--- a/sw/inc/ring.hxx
+++ b/sw/inc/ring.hxx
@@ -42,7 +42,7 @@ namespace sw
static node_ptr get_previous(const_node_ptr n) { return n->GetPrev(); };
static void set_previous(node_ptr n, node_ptr previous) { n->pPrev = previous; };
};
- friend class Ring_node_traits;
+ friend struct Ring_node_traits;
typedef boost::intrusive::circular_list_algorithms<Ring_node_traits> algo;
T* pNext;
T* pPrev; ///< In order to speed up inserting and deleting.
More information about the Libreoffice-commits
mailing list