|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82048 - sandbox-branches/geometry/index/boost/geometry/extensions/index
From: adam.wulkiewicz_at_[hidden]
Date: 2012-12-17 10:43:28
Author: awulkiew
Date: 2012-12-17 10:43:27 EST (Mon, 17 Dec 2012)
New Revision: 82048
URL: http://svn.boost.org/trac/boost/changeset/82048
Log:
Some compilation errors corrected in local index::static_vector.
Text files modified:
sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp
==============================================================================
--- sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp (original)
+++ sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp 2012-12-17 10:43:27 EST (Mon, 17 Dec 2012)
@@ -744,18 +744,18 @@
}
}
- void check_capacity(size_type s)
+ void check_capacity(size_type s) const
{
BOOST_ASSERT_MSG(s <= Capacity, "size can't exceed the capacity");
//if ( Capacity < s ) throw std::bad_alloc();
}
- void check_empty()
+ void check_empty() const
{
BOOST_ASSERT_MSG(0 < m_size, "the container is empty");
}
- void check_iterator_end_neq(const_iterator position)
+ void check_iterator_end_neq(const_iterator position) const
{
BOOST_ASSERT_MSG(this->begin() <= position && position < this->end(), "iterator out of bounds");
@@ -771,7 +771,7 @@
);*/
}
- void check_iterator_end_eq(const_iterator position)
+ void check_iterator_end_eq(const_iterator position) const
{
BOOST_ASSERT_MSG(this->begin() <= position && position <= this->end(), "iterator out of bounds");
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