summaryrefslogtreecommitdiff
path: root/boost/heap/detail/tree_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/heap/detail/tree_iterator.hpp')
-rw-r--r--boost/heap/detail/tree_iterator.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/heap/detail/tree_iterator.hpp b/boost/heap/detail/tree_iterator.hpp
index 2bc05ea1ab..c7ab2e80b3 100644
--- a/boost/heap/detail/tree_iterator.hpp
+++ b/boost/heap/detail/tree_iterator.hpp
@@ -23,10 +23,10 @@ namespace detail {
template<typename type>
struct identity
{
- type& operator()(type& x) const
+ type& operator()(type& x) const BOOST_NOEXCEPT
{ return x; }
- const type& operator()(const type& x) const
+ const type& operator()(const type& x) const BOOST_NOEXCEPT
{ return x; }
};
@@ -127,7 +127,7 @@ struct ordered_tree_iterator_storage:
return data_.top();
}
- bool empty(void) const
+ bool empty(void) const BOOST_NOEXCEPT
{
return data_.empty();
}