X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=boost%2Fintrusive%2Fdetail%2Fihashtable.hpp;h=19e6d6f8718822eba5dc4284e7362bca3630b20c;hb=f723d7852a8195072eee387ea9ca77156b58438b;hp=62ea986095095c65687deb7589735a32804629cf;hpb=47368f306a577d1e46df69a7f729bd3893cbe5e7;p=senf.git diff --git a/boost/intrusive/detail/ihashtable.hpp b/boost/intrusive/detail/ihashtable.hpp index 62ea986..19e6d6f 100644 --- a/boost/intrusive/detail/ihashtable.hpp +++ b/boost/intrusive/detail/ihashtable.hpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // -// (C) Copyright Ion Gaztañaga 2006-2007 +// (C) Copyright Ion Gazta�aga 2006-2007 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at @@ -12,7 +12,7 @@ #ifndef BOOST_INTRUSIVE_IHASHTABLE_HPP #define BOOST_INTRUSIVE_IHASHTABLE_HPP -#include +#include "config_begin.hpp" //std C++ #include #include @@ -25,12 +25,12 @@ #include #include //General intrusive utilities -#include -#include -#include +#include "pointer_type.hpp" +#include "pointer_to_other.hpp" +#include "../linking_policy.hpp" //Implementation utilities -#include -#include +#include "../iunordered_set_hook.hpp" +#include "../islist.hpp" #include #include @@ -221,13 +221,13 @@ class ihashtable ++local_it_; size_type buckets_len = bucket_info_->buckets_len_; bucket_ptr buckets = bucket_info_->buckets_; - while (local_it_ == islist_from_bucket(buckets[n_bucket_]).end()){ - if (++n_bucket_ == buckets_len){ - local_it_ = invalid_local_it(*bucket_info_); - break; - } - local_it_ = islist_from_bucket(buckets[n_bucket_]).begin(); - } + while (local_it_ == islist_from_bucket(buckets[n_bucket_]).end()){ + if (++n_bucket_ == buckets_len) { + local_it_ = invalid_local_it(*bucket_info_); + break; + } + local_it_ = islist_from_bucket(buckets[n_bucket_]).begin(); + } return static_cast (*this); } @@ -1012,6 +1012,6 @@ class ihashtable } //namespace intrusive } //namespace boost -#include +#include "config_end.hpp" #endif //BOOST_INTRUSIVE_IHASHTABLE_HPP