Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55901 - trunk/boost/unordered/detail
From: daniel_james_at_[hidden]
Date: 2009-08-31 06:39:26


Author: danieljames
Date: 2009-08-31 06:39:25 EDT (Mon, 31 Aug 2009)
New Revision: 55901
URL: http://svn.boost.org/trac/boost/changeset/55901

Log:
Detab.
Text files modified:
   trunk/boost/unordered/detail/insert.hpp | 34 +++++++++++++++++-----------------
   trunk/boost/unordered/detail/manager.hpp | 2 +-
   2 files changed, 18 insertions(+), 18 deletions(-)

Modified: trunk/boost/unordered/detail/insert.hpp
==============================================================================
--- trunk/boost/unordered/detail/insert.hpp (original)
+++ trunk/boost/unordered/detail/insert.hpp 2009-08-31 06:39:25 EDT (Mon, 31 Aug 2009)
@@ -67,13 +67,13 @@
         static bool group_equals(node_ptr it1, node_ptr it2, set_extractor*);
         static bool group_equals(node_ptr it1, node_ptr it2, map_extractor*);
 
- inline node_ptr add_node(node_constructor& a, bucket_ptr bucket)
- {
- node_ptr n = a.release();
- this->link_node_in_bucket(n, bucket);
- return n;
- }
-
+ inline node_ptr add_node(node_constructor& a, bucket_ptr bucket)
+ {
+ node_ptr n = a.release();
+ this->link_node_in_bucket(n, bucket);
+ return n;
+ }
+
 #if defined(BOOST_UNORDERED_STD_FORWARD)
 
         // Emplace (unique keys)
@@ -325,15 +325,15 @@
         static bool group_equals(node_ptr it1, node_ptr it2, set_extractor*);
         static bool group_equals(node_ptr it1, node_ptr it2, map_extractor*);
 
- inline node_ptr add_node(node_constructor& a, bucket_ptr bucket, node_ptr pos)
- {
- node_ptr n = a.release();
- if(BOOST_UNORDERED_BORLAND_BOOL(pos))
- this->link_node(n, pos);
- else
- this->link_node_in_bucket(n, bucket);
- return n;
- }
+ inline node_ptr add_node(node_constructor& a, bucket_ptr bucket, node_ptr pos)
+ {
+ node_ptr n = a.release();
+ if(BOOST_UNORDERED_BORLAND_BOOL(pos))
+ this->link_node(n, pos);
+ else
+ this->link_node_in_bucket(n, bucket);
+ return n;
+ }
 
     public:
 
@@ -585,7 +585,7 @@
     {
         key_type const& k = extractor::extract(a.get()->value());
         bucket_ptr bucket = this->get_bucket(this->bucket_index(k));
- add_node(a, bucket, find_iterator(bucket, k));
+ add_node(a, bucket, find_iterator(bucket, k));
     }
 
     ////////////////////////////////////////////////////////////////////////////

Modified: trunk/boost/unordered/detail/manager.hpp
==============================================================================
--- trunk/boost/unordered/detail/manager.hpp (original)
+++ trunk/boost/unordered/detail/manager.hpp 2009-08-31 06:39:25 EDT (Mon, 31 Aug 2009)
@@ -120,7 +120,7 @@
     void hash_table_manager<A, G>::destruct_node(node_ptr b)
     {
         node* raw_ptr = static_cast<node*>(&*b);
- BOOST_UNORDERED_DESTRUCT(&raw_ptr->value(), value_type);
+ BOOST_UNORDERED_DESTRUCT(&raw_ptr->value(), value_type);
         real_node_ptr n(node_alloc().address(*raw_ptr));
         node_alloc().destroy(n);
         node_alloc().deallocate(n, 1);


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