Update of /cvsroot/boost/boost/boost/interprocess/mem_algo/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19387/mem_algo/detail

Modified Files:
        simple_seq_fit_impl.hpp 
Log Message:
Changes to correct regression tests for intel-win-9.1 & cw-9.4

Index: simple_seq_fit_impl.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- simple_seq_fit_impl.hpp     4 May 2007 20:53:10 -0000       1.3
+++ simple_seq_fit_impl.hpp     12 May 2007 12:51:21 -0000      1.4
@@ -1,6 +1,6 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Ion Gaztañaga 2005-2007. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2007. Distributed under the Boost
 // Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 //
@@ -65,13 +65,17 @@
    typedef VoidPointer        void_pointer;
 
    private:
-   struct block_ctrl;
+   class block_ctrl;
    typedef typename detail::
       pointer_to_other<void_pointer, block_ctrl>::type block_ctrl_ptr;
 
+   class block_ctrl;
+   friend class block_ctrl;
+
    /*!Block control structure*/
-   struct block_ctrl
+   class block_ctrl
    {
+      public:
       /*!Offset pointer to the next block.*/
       block_ctrl_ptr m_next;
       /*!This block's memory size (including block_ctrl 
@@ -95,7 +99,6 @@
          return reinterpret_cast<block_ctrl*>
                      (detail::char_ptr_cast(this) + BlockCtrlBytes);
       }
-
    };
 
    /*!Shared interprocess_mutex to protect memory allocate/deallocate*/


-------------------------------------------------------------------------
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

Reply via email to