|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86281 - trunk/boost/multi_index/detail
From: joaquin_at_[hidden]
Date: 2013-10-13 05:14:58
Author: joaquin
Date: 2013-10-13 05:14:57 EDT (Sun, 13 Oct 2013)
New Revision: 86281
URL: http://svn.boost.org/trac/boost/changeset/86281
Log:
one trivial and one subtle (http://stackoverflow.com/a/12187709/213114) fix
Text files modified:
trunk/boost/multi_index/detail/hash_index_node.hpp | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
Modified: trunk/boost/multi_index/detail/hash_index_node.hpp
==============================================================================
--- trunk/boost/multi_index/detail/hash_index_node.hpp Sun Oct 13 04:15:49 2013 (r86280)
+++ trunk/boost/multi_index/detail/hash_index_node.hpp 2013-10-13 05:14:57 EDT (Sun, 13 Oct 2013) (r86281)
@@ -164,12 +164,12 @@
};
template<typename Node>
-struct unlink_undo
+struct unlink_undo_assigner
{
typedef typename Node::base_pointer base_pointer;
typedef typename Node::pointer pointer;
- unlink_undo():pointer_track_count(0),base_pointer_track_count(0){}
+ unlink_undo_assigner():pointer_track_count(0),base_pointer_track_count(0){}
void operator()(pointer& x,pointer val)
{
@@ -272,7 +272,7 @@
unlink(x,assign);
}
- typedef unlink_undo<Node> unlink_undo;
+ typedef unlink_undo_assigner<Node> unlink_undo;
template<typename Assigner>
static void unlink(pointer x,Assigner& assign)
@@ -439,7 +439,7 @@
unlink(x,assign);
}
- typedef unlink_undo<Node> unlink_undo;
+ typedef unlink_undo_assigner<Node> unlink_undo;
template<typename Assigner>
static void unlink(pointer x,Assigner& assign)
@@ -618,9 +618,7 @@
typename Super::allocator_type,
char
>::type impl_allocator_type;
- typedef typename hashed_index_node_impl<
- impl_allocator_type
- > impl_type;
+ typedef hashed_index_node_impl<impl_allocator_type> impl_type;
};
template<typename Super,typename Category>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk