diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-02 01:56:33 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-02 01:56:33 +0100 |
commit | fae52f7e6532bd96a3d66bf614c54ed244ed3a60 (patch) | |
tree | cfd1d58c9cace05c61a80ff84e9315e54db38afa /sw/inc | |
parent | 2d28ed7b0ef302b9f6923ad02822882357b6d1aa (diff) |
unconfuse clang about the nature of struct-class-duality of traits
Change-Id: I030ab87d489cadce0b0e7a64744cef941268132d
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ring.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index b4d4043f07da..e8e0f9cc9ea5 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. |