Boost logo

Boost-Commit :

From: igaztanaga_at_[hidden]
Date: 2007-10-17 11:40:41


Author: igaztanaga
Date: 2007-10-17 11:40:41 EDT (Wed, 17 Oct 2007)
New Revision: 40124
URL: http://svn.boost.org/trac/boost/changeset/40124

Log:
Added <algorithm> include. Erased wrong "non" word in swap members' Throws clause.
Text files modified:
   trunk/boost/intrusive/rbtree.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/intrusive/rbtree.hpp
==============================================================================
--- trunk/boost/intrusive/rbtree.hpp (original)
+++ trunk/boost/intrusive/rbtree.hpp 2007-10-17 11:40:41 EDT (Wed, 17 Oct 2007)
@@ -28,6 +28,7 @@
 #include <boost/intrusive/link_mode.hpp>
 #include <cstddef>
 #include <iterator>
+#include <algorithm>
 
 namespace boost {
 namespace intrusive {
@@ -418,7 +419,7 @@
    //!
    //! <b>Complexity</b>: Constant.
    //!
- //! <b>Throws</b>: If the comparison functor's none swap call throws.
+ //! <b>Throws</b>: If the comparison functor's swap call throws.
    void swap(rbtree_impl& other)
    {
       //This can throw


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