2
0
mirror of https://github.com/boostorg/regex.git synced 2026-02-16 01:32:18 +00:00

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:
John Maddock
2005-01-18 12:51:26 +00:00
parent c8c4c1c289
commit 9781fe3150
6 changed files with 10 additions and 1442 deletions

View File

@@ -117,7 +117,7 @@ void scoped_static_mutex_lock::unlock()
// Portable version of a static mutex based on Boost.Thread library:
//
#include <stdlib.h>
#include <assert.h>
#include <boost/assert.hpp>
boost::recursive_mutex* static_mutex::m_pmutex = 0;
boost::once_flag static_mutex::m_once = BOOST_ONCE_INIT;
@@ -132,7 +132,7 @@ void static_mutex::init()
{
m_pmutex = new boost::recursive_mutex();
int r = atexit(free_static_mutex);
assert(0 == r);
BOOST_ASSERT(0 == r);
}
scoped_static_mutex_lock::scoped_static_mutex_lock(static_mutex& , bool lk)