Added <algorithm> include. Erased wrong "non" word in swap members' Throws clause.

[SVN r40124]
This commit is contained in:
Ion Gaztañaga
2007-10-17 15:40:41 +00:00
parent a99c7ff9d0
commit 40b36588e4

View File

@@ -28,6 +28,7 @@
#include <boost/intrusive/link_mode.hpp> #include <boost/intrusive/link_mode.hpp>
#include <cstddef> #include <cstddef>
#include <iterator> #include <iterator>
#include <algorithm>
namespace boost { namespace boost {
namespace intrusive { namespace intrusive {
@@ -418,7 +419,7 @@ class rbtree_impl
//! //!
//! <b>Complexity</b>: Constant. //! <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) void swap(rbtree_impl& other)
{ {
//This can throw //This can throw