forked from boostorg/regex
Removed dead files.
Changed some asserts to BOOST_ASSERT. Disabled collation in one test (locale dependent behaviour fails on some platforms). [SVN r26722]
This commit is contained in:
@ -235,8 +235,8 @@ mapfile::iterator mapfile::end()const
|
||||
|
||||
void mapfile::lock(pointer* node)const
|
||||
{
|
||||
assert(node >= _first);
|
||||
assert(node <= _last);
|
||||
BOOST_ASSERT(node >= _first);
|
||||
BOOST_ASSERT(node <= _last);
|
||||
if(node < _last)
|
||||
{
|
||||
if(*node == 0)
|
||||
@ -275,8 +275,8 @@ void mapfile::lock(pointer* node)const
|
||||
|
||||
void mapfile::unlock(pointer* node)const
|
||||
{
|
||||
assert(node >= _first);
|
||||
assert(node <= _last);
|
||||
BOOST_ASSERT(node >= _first);
|
||||
BOOST_ASSERT(node <= _last);
|
||||
if(node < _last)
|
||||
{
|
||||
if(--(*reinterpret_cast<int*>(*node)) == 0)
|
||||
|
Reference in New Issue
Block a user