diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-04-08 03:09:47 +0000 |
---|---|---|
committer | <> | 2015-05-05 14:37:32 +0000 |
commit | f2541bb90af059680aa7036f315f052175999355 (patch) | |
tree | a5b214744b256f07e1dc2bd7273035a7808c659f /libs/log/src/attribute_value_set.cpp | |
parent | ed232fdd34968697a68783b3195b1da4226915b5 (diff) | |
download | boost-tarball-master.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/log/src/attribute_value_set.cpp')
-rw-r--r-- | libs/log/src/attribute_value_set.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/log/src/attribute_value_set.cpp b/libs/log/src/attribute_value_set.cpp index ac25cf5c1..9c9886e9f 100644 --- a/libs/log/src/attribute_value_set.cpp +++ b/libs/log/src/attribute_value_set.cpp @@ -1,5 +1,5 @@ /* - * Copyright Andrey Semashev 2007 - 2014. + * Copyright Andrey Semashev 2007 - 2015. * 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) @@ -79,7 +79,7 @@ private: typedef intrusive::list< node, intrusive::value_traits< value_traits >, - intrusive::constant_time_size< false > + intrusive::constant_time_size< true > > node_list; //! A hash table bucket @@ -100,7 +100,7 @@ private: struct disposer { typedef void result_type; - void operator() (node* p) const + void operator() (node* p) const BOOST_NOEXCEPT { if (!p->m_DynamicallyAllocated) p->~node(); @@ -259,7 +259,7 @@ public: size_type size() { freeze(); - return (m_pEnd - m_pStorage); + return m_Nodes.size(); } //! Looks for the element with an equivalent key |