Update of /cvsroot/boost/boost/boost/interprocess/mem_algo
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29834/mem_algo
Modified Files:
rbtree_best_fit.hpp
Log Message:
no message
Index: rbtree_best_fit.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rbtree_best_fit.hpp 12 Jun 2007 17:07:10 -0000 1.3
+++ rbtree_best_fit.hpp 23 Jun 2007 12:53:01 -0000 1.4
@@ -26,8 +26,7 @@
#include <boost/interprocess/detail/utilities.hpp>
#include <boost/interprocess/detail/min_max.hpp>
#include <boost/interprocess/detail/gcd_lcm.hpp>
-#include <boost/type_traits/alignment_of.hpp>
-#include <boost/type_traits/type_with_alignment.hpp>
+#include <boost/interprocess/detail/type_traits.hpp>
#include <boost/interprocess/sync/scoped_lock.hpp>
#include <boost/intrusive/set.hpp>
#include <boost/assert.hpp>
@@ -268,7 +267,7 @@
//!Makes a new memory portion available for allocation
void priv_add_segment(void *addr, std::size_t size);
- enum { Alignment =
boost::alignment_of<boost::detail::max_align>::value };
+ enum { Alignment = detail::alignment_of<detail::max_align>::value
};
enum { AlignmentMask = (Alignment - 1) };
enum { BlockCtrlBytes = detail::ct_rounded_size<sizeof(block_ctrl),
Alignment>::value };
enum { BlockCtrlUnits = BlockCtrlBytes/Alignment };
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs