|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60656 - trunk/boost/intrusive/detail
From: steven_at_[hidden]
Date: 2010-03-16 17:00:27
Author: steven_watanabe
Date: 2010-03-16 17:00:27 EDT (Tue, 16 Mar 2010)
New Revision: 60656
URL: http://svn.boost.org/trac/boost/changeset/60656
Log:
Quality size_t with std::. Fixes #4021
Text files modified:
trunk/boost/intrusive/detail/tree_algorithms.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/intrusive/detail/tree_algorithms.hpp
==============================================================================
--- trunk/boost/intrusive/detail/tree_algorithms.hpp (original)
+++ trunk/boost/intrusive/detail/tree_algorithms.hpp 2010-03-16 17:00:27 EDT (Tue, 16 Mar 2010)
@@ -1501,7 +1501,7 @@
static node_ptr vine_to_subtree(node_ptr old_root, std::size_t count)
{
- std::size_t leaf_nodes = count + 1 - ((size_t) 1 << floor_log2 (count + 1));
+ std::size_t leaf_nodes = count + 1 - ((std::size_t) 1 << floor_log2 (count + 1));
std::size_t vine_nodes = count - leaf_nodes;
node_ptr new_root = compress_subtree(old_root, leaf_nodes);
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