forked from boostorg/intrusive
Added <algorithm> include. Erased wrong "non" word in swap members' Throws clause.
[SVN r40124]
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user